browser-ava
v2.3.2
Published
Run ava tests in the browser
Downloads
5,531
Maintainers
Readme
browser-ava
Run ava tests in the browser
What it does
If your code does not depend on any node api (process, fs, ...) then this runner allows to run your ava test inside the browser.
Running your tests
browser-ava --webkit --chromium --firefox tests/*.mjs
limitations
- only supports ESM
API
Table of Contents
testModules
Holds all tests
test
Collect all tests into testModules
Parameters
body
args
...any
pluralize
Pluralize subjects
Parameters
Returns string pluralized subject if number > 1