Package Exports
- m.test
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (m.test) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
m.test
wip test runner from the m.icro series.
install
install m.test directly from npm to project's devDependencies.
npm install --development m.testusage
test files are run by simply passing them to node. for a given test/index.js run the following to execute the suite:
node testsync usage
const {ok} = require('assert')
const {test} = require('m.test')
test('description', function () {
ok(true)
})async usage
test('description', function (done) {
setTimeout(function (done) {
done(null)
}, 0, done)
})