Tone.js/test
2024-05-01 15:55:52 -04:00
..
audio Don't reschedule source when offset is very small 2021-12-19 11:21:27 -05:00
helper WIP moving tests to web-test-runner 2024-05-01 15:55:52 -04:00
scripts Working on getting github actions to run (#1231) 2024-04-25 14:06:55 -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
web-test-runner.config.js WIP moving tests to web-test-runner 2024-05-01 15:55:52 -04: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