freeCodeCamp / freeCodeCamp/devdocs
Unit test frontend code
- Lingua principale
- Ruby
- Stelle
- 39.5k
- Fork
- 2.6k
- Merge medio
- 4g 32m
- PR unite (30g)
- 13
Descrizione
# 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.)
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.