Home
last modified time | relevance | path

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

/third_party/node/test/parallel/
Dtest-cli-node-options.js88 function expectNoWorker(opt, want, command, wantsError) { argument
89 expect(opt, want, command, wantsError, false);
93 opt, want, command = 'console.log("B")', wantsError = false, testWorker = true argument
106 if (wantsError) {
121 workerTest(opts, command, wantsError, test('worker'));
133 function workerTest(opts, command, wantsError, test) { argument
146 assert.strictEqual(code, wantsError ? 1 : 0);
/third_party/node/test/es-module/
Dtest-esm-type-field-errors.js36 function expect(opt = '', inputFile, want, wantsError = false) { argument
43 if (wantsError) {