Tone.js/test
2020-09-07 09:11:32 -04:00
..
audio feat: updating the way that AudioWorkletProcessors are handled 2020-04-29 16:38:58 -04:00
helper fix: should set _sync in this.sync 2020-08-26 16:58:14 +08:00
scripts using new way to handle offline tests 2020-07-26 13:55:06 -07:00
karma.conf.js linting 2020-08-26 11:37:08 -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