node/test/fixtures/failmustcall2.js
Refael Ackermann f578c9bbb6
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-08-15 20:57:19 -07:00

3 lines
89 B
JavaScript

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