must-call
1.0.0 • Public • Published must-call
must-call
is an assertion library for async test.
This method is inspired from node.js
project test/common.js
.
const mustCall = require('must-call');
someCallback(mustCall(() => {
}));
somePromiseTest().then(mustCall(() => {
}));
Package Sidebar
Install
Weekly Downloads