repl: reject --watch without script #78270
Annotations
2 errors and 1 notice
|
test-macOS
Process completed with exit code 2.
|
|
test-macOS:
test/sequential/test-watch-mode.mjs#L881
--- stdout ---
Test failure: 'should watch changes to a file from config file'
Location: test/sequential/test-watch-mode.mjs:872:3
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
+ actual - expected
+ '/Users/runner/work/node/node/node/out/Release/node: --watch requires specifying a file\n'
- ''
at TestContext.<anonymous> (file:///Users/runner/work/node/node/node/test/sequential/test-watch-mode.mjs:881:12)
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
at async Test.run (node:internal/test_runner/test:1389:7)
at async Suite.processPendingSubtests (node:internal/test_runner/test:960:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: '/Users/runner/work/node/node/node/out/Release/node: --watch requires specifying a file\n',
expected: '',
operator: 'strictEqual',
diff: 'simple'
}
Test failure: 'should watch changes to a file from default config file'
Location: test/sequential/test-watch-mode.mjs:916:3
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
+ actual - expected
+ '/Users/runner/work/node/node/node/out/Release/node: --watch requires specifying a file\n'
- ''
at TestContext.<anonymous> (file:///Users/runner/work/node/node/node/test/sequential/test-watch-mode.mjs:933:12)
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
at async Test.run (node:internal/test_runner/test:1389:7)
at async Suite.processPendingSubtests (node:internal/test_runner/test:960:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: '/Users/runner/work/node/node/node/out/Release/node: --watch requires specifying a file\n',
expected: '',
operator: 'strictEqual',
diff: 'simple'
}
Command: out/Release/node --test-reporter=./test/common/test-error-reporter.js --test-reporter-destination=stdout /Users/runner/work/node/node/node/test/sequential/test-watch-mode.mjs
|
|
sccache stats - test-macOS
82% - 4110 hits, 926 misses, 0 errors
|