This repository contains starter code and tests. Clone this repository and open it in your IDE.
Add your code in src/script.js
. To run the code in the browser, open index.html
in the src/
directory.
Tests can be found in spec/lab2.spec.js
.
- To run the tests in the browser, open
test.html
in thespec/
directory. - To run the tests from the console, first install the dependencies: run
npm install
. Just do that one time ever. Then runnpm test
anytime you want to start the tests.
Add, commit, and push your changes.