Tone.js/test
2019-11-18 14:47:18 -05:00
..
audio feat: Chorus extends StereoFeedbackEffect 2019-11-13 12:58:37 -05:00
helper reset the context even if the test fails 2019-11-18 14:47:18 -05:00
scripts updating example path 2019-11-16 18:01:34 -05:00
karma.conf.js reorganising testing directory 2019-11-16 17:45:22 -05: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