node/test/fixtures/failmustcall2.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
89 B
JavaScript

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