Home
last modified time | relevance | path

Searched refs:expectsError (Results 1 - 25 of 38) sorted by relevance

12

/third_party/node/test/parallel/
H A Dtest-stream-construct.js14 }).on('error', common.expectsError({
27 }).on('error', common.expectsError({
40 }).on('error', common.expectsError({
53 }).on('error', common.expectsError({
66 }).on('error', common.expectsError({
79 }).on('error', common.expectsError({
H A Dtest-http2-status-code-invalid.js11 function expectsError(code) { function
12 return common.expectsError({
23 assert.throws(() => stream.respond({ ':status': i }), expectsError(i));
H A Dtest-http2-client-onconnect-errors.js85 const errorMustCall = common.expectsError(test.error);
96 common.expectsError({
99 common.expectsError({
H A Dtest-runner-import-no-scheme.js13 common.expectsError({ code: 'MODULE_NOT_FOUND' }),
19 common.expectsError({ code: 'ERR_MODULE_NOT_FOUND' }),
25 common.expectsError({ code: 'MODULE_NOT_FOUND' }),
H A Dtest-stream-readable-invalid-chunk.js10 readable.on('error', common.expectsError({
25 readable.on('error', common.expectsError({
H A Dtest-http-client-abort3.js20 req.on('error', common.expectsError({ name: 'Error', message: 'Oops' }));
30 req.on('error', common.expectsError({ name: 'Error', message: 'Oops' }));
H A Dtest-http2-empty-frame-without-eof.js35 stream.on('error', common.expectsError(expected));
36 client.on('error', common.expectsError(expected));
H A Dtest-http2-server-shutdown-before-respond.js25 client.on('error', common.expectsError({
30 req.on('error', common.expectsError({
H A Dtest-timers-immediate-queue-throw.js29 common.expectsError(errObj)(err);
33 d1.once('error', common.expectsError(errObj));
H A Dtest-http2-info-headers-errors.js47 const errorMustCall = common.expectsError(currentError.error);
73 req.on('error', common.expectsError({
H A Dtest-http2-options-max-headers-exceeds-nghttp2.js25 client.on('error', common.expectsError({
42 req.on('error', common.expectsError({
H A Dtest-http2-respond-nghttperrors.js48 const errorMustCall = common.expectsError(currentError.error);
81 req.on('error', common.expectsError({
H A Dtest-http2-connect.js8 expectsError
113 }).on('error', expectsError({
H A Dtest-http2-respond-with-fd-errors.js55 const errorMustCall = common.expectsError(currentError.error);
89 req.on('error', common.expectsError({
H A Dtest-domain-ee-error-listener.js19 ee.once('error', common.expectsError(err));
H A Dtest-http-server-write-after-end.js18 common.expectsError({
H A Dtest-http-server-write-end-after-end.js20 common.expectsError({
H A Dtest-https-timeout.js54 req.on('error', common.expectsError({
H A Dtest-net-connect-reset-until-connected.js21 socket.on('error', common.expectsError({
H A Dtest-net-options-lookup.js46 s.on('error', common.expectsError({
H A Dtest-http2-too-many-settings.js15 session.on('error', common.expectsError({
H A Dtest-net-dns-custom-lookup.js66 }).on('error', common.expectsError({ code: 'ERR_INVALID_IP_ADDRESS' }));
H A Dtest-worker-resource-limits.js27 w.on('error', common.expectsError({
H A Dtest-stream-writable-destroy.js276 write.write('asd', common.expectsError({
295 write.write('asd', common.expectsError({
301 write.write('asd', common.expectsError({
H A Dtest-file-write-stream.js65 file.write('should not work anymore', common.expectsError({

Completed in 6 milliseconds

12