Tone.js/test
2021-10-13 14:21:23 -04:00
..
audio updating tremolo wav bc of updated Tone.LFO 2020-10-30 14:57:46 -04:00
helper additional cleanup checks 2021-10-13 13:24:41 -04:00
scripts moving to .cjs scripts 2021-10-13 13:56:57 -04:00
karma.conf.cjs increasing the disconnect time 2021-10-13 14:21:23 -04:00
README.md Update README.md 2019-11-16 17:21:16 -05:00

Both Chrome and Firefox are required to run the run the full set of tests.

Basic

To run tests in both browsers headlessly and report the results:

npm run test

Browser

To run tests in a Chrome browser not in headless mode which allows you to debug from the console:

npm run test:browser

Selective Testing

To test only an individual file:

npm run test --file=Signal

Or to run on an entire directory:

npm run test --dir=signal