Home
last modified time | relevance | path

Searched refs:rejectingFn (Results 1 – 1 of 1) sorted by relevance

/third_party/node/test/parallel/
Dtest-assert-async.js35 const rejectingFn = async () => assert.fail(); function
44 promises.push(assert.rejects(rejectingFn, errObj));
45 promises.push(assert.rejects(rejectingFn(), errObj));
214 const rejectingFn = async () => assert.fail();
216 promise = assert.doesNotReject(rejectingFn, common.mustCall(handler1));
219 promise = assert.doesNotReject(rejectingFn(), common.mustCall(handler1));