0.1.3 • Published 4 years ago

@logicallyabstract/simple-test-runner v0.1.3

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

simple-test-runner

A test runner to run each test file in its own iframe in a browser.

Get Started

npm install --save @logicallyabstract/simple-test-runner

npx simple-test-runner src/**/*.test.ts --debug

Mocha, chai, and sinon are provided as globals. The test runner runs each test file in an iframe.

The --debug flag will keep the browser open, otherwise the tests will run in a headless browser and quit after the tests are complete.