Unit test frontend code
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 45/100
- Issue type
- Feature
- Clarity
- Needs clarification
- Activity status
- Quiet
- Tech stack
- javascript
Research direction
The issue names no files, tests, or frontend entry points. Start by locating the frontend JavaScript and development setup instructions, then determine the testing framework and package configuration needed; done means frontend unit tests run through the documented development setup.
Written by the indexing model from the issue text.
Description
Feature request
Cover frontend JavaScript with unit testing.
Summary
While the Ruby backend core is fully covered by Minitest unit tests, the JavaScript frontend has no testing framework in place. This certainly encouraged past regressions and will continue to do so. It also omits a layer of expected behavior documentation.
Short of committing test framework packages to the repo, this would involve introducing a package.json file solely for dev dependencies. A dependency install step in dev setup instructions would need to be added.
(As an unrelated followup: with this in place, consider migrating vendor dependencies to this file.)
- Dominant language
- Ruby
- Stars
- 39.5k
- Forks
- 2.6k
- Avg merge
- 4d 32m
- Merged PRs (30d)
- 13
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from freeCodeCamp/devdocs
-
docs/improvement
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
freeCodeCamp/devdocs#1989 · 4 comments · 4 reactions ·
-
Difficulty 5/5 Over a week Newbie friendliness 20/100
freeCodeCamp/devdocs#2731 ·
-
feature
Difficulty 5/5 Over a week Newbie friendliness 25/100
freeCodeCamp/devdocs#2712 ·
-
feature
Difficulty 5/5 Over a week Newbie friendliness 30/100
freeCodeCamp/devdocs#2683 · 1 comment ·
-
feature
Difficulty 5/5 Over a week Newbie friendliness 18/100
freeCodeCamp/devdocs#2669 · 3 comments · 3 reactions ·
All issues in freeCodeCamp/devdocs
Similar issues
-
SyncEm always forwards a dummy block, so wrapped methods lose their no-block/Enumerator behavior Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
bug P2
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
dependabot
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
githubnext/gh-aw-cao#13349 ·
-
user-reported
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
Kong/developer.konghq.com#7316 ·