Exercism exercises in JavaScript
This is the JavaScript track, one of the many tracks on exercism.
It holds all the exercises that are currently implemented and available for
students to complete. The track consists of various core exercises, the ones
a student must complete, and each core exercise may unlock various side
exercises. You can find this in the config.json
.
See CONTRIBUTING.md for a list of requirements to
contribute to this track. It also has a list of tools you can use, of which the
test
tool is one of them.
This runs jest
tests for all sample solutions
npx @babel/node scripts/test
If the ASSIGNMENT
environment variable is set, only that exercise is tested. For
example, if you only want to test the example.js
for two-fer
, you may, depending
on your environment, use:
ASSIGNMENT=two-fer npx @babel/node scripts/test