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.js85 function expectNoWorker(opt, want, command, wantsError) { argument
86 expect(opt, want, command, wantsError, false);
90 opt, want, command = 'console.log("B")', wantsError = false, testWorker = true argument
103 if (wantsError) {
118 workerTest(opts, command, wantsError, test('worker'));
130 function workerTest(opts, command, wantsError, test) { argument
143 assert.strictEqual(code, wantsError ? 1 : 0);
/third_party/node/test/es-module/
Dtest-esm-type-flag-errors.js36 function expect(opt = '', inputFile, want, wantsError = false) { argument
43 if (wantsError) {