public/js
Christopher Fremond 92294a7f4d
Update bring-it-to-life-dom_test.mjs
remving the comment I added for demo purposes
2022-08-08 10:49:24 +01:00
..
tests Update bring-it-to-life-dom_test.mjs 2022-08-08 10:49:24 +01:00
README.md add instructions to run tests locally for DOM & JS 2021-03-03 11:18:38 +00:00

README.md

JS

Tests that use node to do JavaScript exercises

Run test locally

Installation

You need node version 14+

# Clone the repo
git clone https://github.com/01-edu/public.git

# 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