Package Exports
- tape-approximately
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 (tape-approximately) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
tape-approximately
Adds t.approximately() to tape
Install
$ npm install --save-dev tape-approximately
Usage
const test = require('tape');
require('tape-approximately')(test);
test('floating point math', function(t) {
t.approximately(actual, expected, delta);
// or
t.approximately(actual, expected, delta, message);
});License
MIT