console.log(`%cPASS `, 'color:green', ...args)
}
-
/**
* Who watches the watchers?
*/
console.assert(failures.some(call => /.*promise should fail.*/.test(call[0])) === true, `bad promise not errored`)
console.assert(passes.some(call => /.*promise should fail.*/.test(call[0])) === false, 'bad promise logged')
- await test('async should pass', async () => {})
+ await test('async should pass', async () => { })
console.assert(failures.some(call => /.*async should pass.*/.test(call[0])) === false, 'good async errored')
console.assert(passes.some(call => /.*async should pass.*/.test(call[0])) === true, 'good async not logged')
console.assert(failures.some(call => /.*async should fail.*/.test(call[0])) === true, 'bad async not errored')
console.assert(passes.some(call => /.*async should fail.*/.test(call[0])) === false, 'bad async logged')
- await test('function should pass', () => {})
+ await test('function should pass', () => { })
console.assert(failures.some(call => /.*function should pass.*/.test(call[0])) === false, 'good function errored')
console.assert(passes.some(call => /.*function should pass.*/.test(call[0])) === true, 'good function not logged')
0, 0, 0, 0 // 60: personal
])
-
static v: Uint32Array = new Uint32Array(32)
static m: Uint32Array = new Uint32Array(32)