node/test/fixtures/failmustcall1.js
Refael Ackermann fccc0bf6e6 test: add mustCallAtLeast
PR-URL: https://github.com/nodejs/node/pull/12935
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
2017-05-19 15:22:44 -04:00

4 lines
83 B
JavaScript

const common = require('../common');
const f = common.mustCall( () => {}, 2);
f();