Home
last modified time | relevance | path

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

/third_party/node/test/fixtures/wpt/encoding/streams/
Dencode-bad-chunks.any.js19 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'),
Ddecode-bad-chunks.any.js49 await promise_rejects(t, new TypeError(), writePromise, 'write should reject');
50 await promise_rejects(t, new TypeError(), readPromise, 'read should reject');
Ddecode-non-utf8.any.js76 await promise_rejects(t, new TypeError(), reader.read(),
78 await promise_rejects(t, new TypeError(),
Ddecode-incomplete-input.any.js22 await promise_rejects(t, new TypeError(), reader.read(),
/third_party/node/test/fixtures/wpt/resources/
Didlharness.js96 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({}),
Dtestharness.js627 function promise_rejects(test, expected, promise, description) { function
813 expose(promise_rejects, 'promise_rejects');