Add custom flags to config #1670
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Supports exercism/javascript-test-runner#79.
This adds hand-written flags to the
.meta/config.json
files to be consumed by our tooling.This doesn't do anything by itself, but jest 27 is technically a breaking change. Adding this to our config files allows us to:
test
.This should generally be
true
for allconcept
exercises andfalse
for allpractice
exercises. Whentrue
, the test-runner can calculate thetask_id
based on thedescribe
in the test files. This PR also contains updates to the spec files to match this newly imposed format.When we see students complain about timeouts on naive implementations, we should turn this to true. Doesn't do something right now, but if we see it a lot, we can use it to actually impose a shorter timeout (in the runner) and then show guided help.
When true, skipped tests with
test.skip
are present and optional. This allows us to: