freeCodeCamp/curriculum/test/utils
Oliver Eyton-Williams 36363f277d
test: enable tests for steps (#44550)
* fix: handle missing solutions correctly

Rather than creating an [[]] the parser now creates [] which isEmpty().
This makes the test suite check the next challenge for a solution.

In addition, the logic for testing solutions was fixed.

* chore: update snapshots

* test: build new superblock in node.js-tests CI

* test: allow forward slash in superblock slug

* fix: borked tests oops

* test: ignore duplicated projects

* fix: i did not break these shaun did :)

* fix: idIndex is index of id not id

Co-authored-by: Nicholas Carrigan <nhcarrigan@gmail.com>
2021-12-22 12:18:06 -08:00
..
plugins fix: order imports and remove circular dependencies (#41824) 2021-08-02 08:39:40 -05:00
challengeTitles.js feat: enable new curriculum (#44183) 2021-12-20 12:36:31 -06:00
comment-to-data.js test: check replaced iff translatable comment 2020-10-22 03:18:13 +05:30
extract-css-comments.js test: check replaced iff translatable comment 2020-10-22 03:18:13 +05:30
extract-css-comments.test.js chore: add jest global variables (#42573) 2021-06-20 09:14:42 +02:00
extract-html-comments.js test: check replaced iff translatable comment 2020-10-22 03:18:13 +05:30
extract-html-comments.test.js chore: add jest global variables (#42573) 2021-06-20 09:14:42 +02:00
extract-js-comments.js fix: grammar 2021-10-27 21:29:05 +05:30
extract-js-comments.test.js test: update *test* grammar 2021-10-27 21:29:05 +05:30
extract-jsx-comments.js test: check replaced iff translatable comment 2020-10-22 03:18:13 +05:30
extract-jsx-comments.test.js chore: add jest global variables (#42573) 2021-06-20 09:14:42 +02:00
extract-script-js-comments.js fix(tests): add validation of comment translations (#41537) 2021-03-20 11:59:13 +05:30
extract-script-js-comments.test.js chore: add jest global variables (#42573) 2021-06-20 09:14:42 +02:00
mongoIds.js test: enable tests for steps (#44550) 2021-12-22 12:18:06 -08:00
pseudo-worker.js feat(tests): use client build pipeline and test runners for testing curriculum 2019-01-16 10:45:39 +00:00
sort-challenges.js feat: allow next challenge's seed to be a solution (#39145) 2020-09-16 11:54:01 +05:30
sort-challenges.test.js chore: add jest global variables (#42573) 2021-06-20 09:14:42 +02:00