freeCodeCamp / freeCodeCamp/devdocs

Unit test frontend code

オープン
#2,673 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
feature
主要言語
Ruby
スター
39.5k
フォーク
2.6k
平均マージ
4日 32分
マージ済み PR(30日)
13

説明

# 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.)

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。