repl: reject --watch without script #87765
Annotations
4 errors and 2 notices
|
test-linux (ubuntu-24.04-arm)
Process completed with exit code 2.
|
|
test-linux (ubuntu-24.04-arm):
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
+ '/home/runner/work/node/node/node/out/Release/node: --watch requires specifying a file\n'
- ''
at TestContext.<anonymous> (file:///home/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: '/home/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
+ '/home/runner/work/node/node/node/out/Release/node: --watch requires specifying a file\n'
- ''
at TestContext.<anonymous> (file:///home/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: '/home/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 /home/runner/work/node/node/node/test/sequential/test-watch-mode.mjs
|
|
test-linux (ubuntu-24.04)
Process completed with exit code 2.
|
|
test-linux (ubuntu-24.04):
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
+ '/home/runner/work/node/node/node/out/Release/node: --watch requires specifying a file\n'
- ''
at TestContext.<anonymous> (file:///home/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: '/home/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
+ '/home/runner/work/node/node/node/out/Release/node: --watch requires specifying a file\n'
- ''
at TestContext.<anonymous> (file:///home/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: '/home/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 /home/runner/work/node/node/node/test/sequential/test-watch-mode.mjs
|
|
sccache stats - test-linux
85% - 4298 hits, 733 misses, 0 errors
|
|
sccache stats - test-linux
84% - 4256 hits, 786 misses, 0 errors
|