Searched refs:promise_rejects (Results 1 – 6 of 6) sorted by relevance
/third_party/node/test/fixtures/wpt/encoding/streams/ |
D | encode-bad-chunks.any.js | 19 promise_rejects(t, error1, readPromise, 'read should reject with error1'), 20 promise_rejects(t, error1, writePromise, 'write should reject with error1'), 21 promise_rejects(t, error1, reader.closed, 'readable should be errored with error1'), 22 promise_rejects(t, error1, writer.closed, 'writable should be errored with error1'),
|
D | decode-bad-chunks.any.js | 49 await promise_rejects(t, new TypeError(), writePromise, 'write should reject'); 50 await promise_rejects(t, new TypeError(), readPromise, 'read should reject');
|
D | decode-non-utf8.any.js | 76 await promise_rejects(t, new TypeError(), reader.read(), 78 await promise_rejects(t, new TypeError(),
|
D | decode-incomplete-input.any.js | 22 await promise_rejects(t, new TypeError(), reader.read(),
|
/third_party/node/test/fixtures/wpt/resources/ |
D | idlharness.js | 96 promise_rejects(a_test, new TypeError(), fn.apply(obj, args), message).then(cb, cb); 2248 promise_rejects(a_test, new TypeError(), 2918 promise_rejects(a_test, new TypeError(), desc.get.call({}),
|
D | testharness.js | 627 function promise_rejects(test, expected, promise, description) { function 813 expose(promise_rejects, 'promise_rejects');
|