Test revisions
test: implement callback wrapper common.mustCall
In test/parallel/test-stream2-readable-wrap.js
:
- replace
process.on('exit', ...)
block by wrapping all callbacks withcommon.mustCall
- replace
assert.equal()
withassert.strictEqual()
- add a duration of 1 second to
setTimeout()
on line 61 - replace
var
withconst
orlet