freeCodeCamp/tools/challenge-parser/parser/plugins
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
..
__snapshots__ fix: index.css/js to styles/script (#44356) 2021-12-03 12:32:29 -08:00
utils fix: index.css/js to styles/script (#44356) 2021-12-03 12:32:29 -08:00
add-frontmatter.js fix: order imports and remove circular dependencies (#41824) 2021-08-02 08:39:40 -05:00
add-frontmatter.test.js chore: add jest global variables (#42573) 2021-06-20 09:14:42 +02:00
add-ids.js chore: remove old parser 2021-02-02 09:51:02 +05:30
add-seed.js fix: index.css/js to styles/script (#44356) 2021-12-03 12:32:29 -08:00
add-seed.test.js fix: index.css/js to styles/script (#44356) 2021-12-03 12:32:29 -08:00
add-solution.js test: enable tests for steps (#44550) 2021-12-22 12:18:06 -08:00
add-solution.test.js fix: index.css/js to styles/script (#44356) 2021-12-03 12:32:29 -08:00
add-tests.js chore: remove old parser 2021-02-02 09:51:02 +05:30
add-tests.test.js fix: order imports and remove circular dependencies (#41824) 2021-08-02 08:39:40 -05:00
add-text.js chore: remove old parser 2021-02-02 09:51:02 +05:30
add-text.test.js fix: order imports and remove circular dependencies (#41824) 2021-08-02 08:39:40 -05:00
add-video-question.js chore: remove old parser 2021-02-02 09:51:02 +05:30
add-video-question.test.js chore: add jest global variables (#42573) 2021-06-20 09:14:42 +02:00
replace-imports.js fix: order imports and remove circular dependencies (#41824) 2021-08-02 08:39:40 -05:00
replace-imports.test.js fix: order imports and remove circular dependencies (#41824) 2021-08-02 08:39:40 -05:00
restore-directives.js fix: order imports and remove circular dependencies (#41824) 2021-08-02 08:39:40 -05:00
restore-directives.test.js fix: order imports and remove circular dependencies (#41824) 2021-08-02 08:39:40 -05:00
table-and-strikethrough.js fix: only use parts of gfm parser 2021-12-02 19:57:47 +05:30