/test-simple

Testing front-end code with jsdom, mocha and es6

Primary LanguageJavaScript

Run the tests

npm install
npm test

Run the "app" in the browser

npm run compile
npm install live-server
live-server

The tests

  • math module with no dependencies
  • dom module that uses jquery
  • api module that uses fetch