arlac77 / browser-ava

run ava test in the browser
BSD 2-Clause "Simplified" License
1 stars 1 forks source link
ava

npm License bundlejs downloads GitHub Issues Build Status Styled with prettier Commitizen friendly Known Vulnerabilities Coverage Status

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

Scrrenshot

limitations

API

Table of Contents

testModules

Holds all tests

test

Collect all tests into testModules

Parameters

pluralize

Pluralize subjects

Parameters

Returns string pluralized subject if number > 1