You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Christopher Fremond 2d0a9a04c7
Update bring-it-to-life-dom_test.mjs
5 months ago
tests Update bring-it-to-life-dom_test.mjs 5 months ago add instructions to run tests locally for DOM & JS 2 years ago


Tests that use node to do JavaScript exercises

Run test locally


You need node version 14+

# Clone the repo
git clone

# go into the dom directory
cd public/js/tests

Executing a test

# run a test
node test.mjs /user/you/piscine-repo exercise-name

The first argument /user/you/piscine-repo is the directory where the test should look for your solution, usualy your piscine repository.

The second argument exercise-name should match exactly the name of an exercise, not including .js