suspended
requires Node 5 or newer
minimal testing framework
runs all tests, returns an array of failed tests
// Tests must return Promises.const shouldHaveNumber = { // Function is bound to the test, which has the 'data' property. const data = thisdata if datanumber !== 5 throw 'number is not 5!' } const shouldHaveApple = { const data = thisdata if datafruit !== 'apple' throw 'fruit is not apple!' } const tester = testertesterconst data = number: 5 fruit: 'orange' // failedTests will always be an array of failed tests in the object format:// {// name: 'should have a fruit which is an apple',// err: new Error('fruit is not apple!')// }tester