fix(process): improve error message for process.cwd() when directory is deleted #71010
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#L811
--- stdout ---
Test failure: 'when multiple `--watch` flags are provided should run as if only one was'
Location: test/sequential/test-watch-mode.mjs:795:3
AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal:
+ actual - expected
[
'no --watch args present',
+ "Completed running '/home/runner/work/node/node/node/test/.tmp.4439/project-multi-flag/24.js'. Waiting for file changes before restarting...",
- "Completed running '/home/runner/work/node/node/node/test/.tmp.4439/project-multi-flag/24.js'",
"Restarting '/home/runner/work/node/node/node/test/.tmp.4439/project-multi-flag/24.js'",
'no --watch args present',
+ "Completed running '/home/runner/work/node/node/node/test/.tmp.4439/project-multi-flag/24.js'. Waiting for file changes before restarting..."
- "Completed running '/home/runner/work/node/node/node/test/.tmp.4439/project-multi-flag/24.js'"
]
at TestContext.<anonymous> (file:///home/runner/work/node/node/node/test/sequential/test-watch-mode.mjs:811:12)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async Test.run (node:internal/test_runner/test:1069:7)
at async Suite.processPendingSubtests (node:internal/test_runner/test:752:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: [Array],
expected: [Array],
operator: 'deepStrictEqual'
}
Test failure: '`--watch-path` ars without `=` used alongside `--watch` should not make it into the script'
Location: test/sequential/test-watch-mode.mjs:820:3
AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal:
+ actual - expected
[
'no cli arg ends with .js',
+ "Completed running '/home/runner/work/node/node/node/test/.tmp.4439/project-watch-watch-path-args/25.js'. Waiting for file changes before restarting...",
- "Completed running '/home/runner/work/node/node/node/test/.tmp.4439/project-watch-watch-path-args/25.js'",
"Restarting '/home/runner/work/node/node/node/test/.tmp.4439/project-watch-watch-path-args/25.js'",
'no cli arg ends with .js',
+ "Completed running '/home/runner/work/node/node/node/test/.tmp.4439/project-watch-watch-path-args/25.js'. Waiting for file changes before restarting..."
- "Completed running '/home/runner/work/node/node/node/test/.tmp.4439/project-watch-watch-path-args/25.js'"
]
at TestContext.<anonymous> (file:///home/runner/work/node/node/node/test/sequential/test-watch-mode.mjs:836:12)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async Test.run (node:internal/test_runner/test:1069:7)
at async Suite.processPendingSubtests (node:internal/test_runner/test:752:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: [Array],
expected: [Array],
operator: 'deepStrictEqual'
}
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#L811
--- stdout ---
Test failure: 'when multiple `--watch` flags are provided should run as if only one was'
Location: test/sequential/test-watch-mode.mjs:795:3
AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal:
+ actual - expected
[
'no --watch args present',
+ "Completed running '/home/runner/work/node/node/node/test/.tmp.4493/project-multi-flag/24.js'. Waiting for file changes before restarting...",
- "Completed running '/home/runner/work/node/node/node/test/.tmp.4493/project-multi-flag/24.js'",
"Restarting '/home/runner/work/node/node/node/test/.tmp.4493/project-multi-flag/24.js'",
'no --watch args present',
+ "Completed running '/home/runner/work/node/node/node/test/.tmp.4493/project-multi-flag/24.js'. Waiting for file changes before restarting..."
- "Completed running '/home/runner/work/node/node/node/test/.tmp.4493/project-multi-flag/24.js'"
]
at TestContext.<anonymous> (file:///home/runner/work/node/node/node/test/sequential/test-watch-mode.mjs:811:12)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async Test.run (node:internal/test_runner/test:1069:7)
at async Suite.processPendingSubtests (node:internal/test_runner/test:752:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: [Array],
expected: [Array],
operator: 'deepStrictEqual'
}
Test failure: '`--watch-path` ars without `=` used alongside `--watch` should not make it into the script'
Location: test/sequential/test-watch-mode.mjs:820:3
AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal:
+ actual - expected
[
'no cli arg ends with .js',
+ "Completed running '/home/runner/work/node/node/node/test/.tmp.4493/project-watch-watch-path-args/25.js'. Waiting for file changes before restarting...",
- "Completed running '/home/runner/work/node/node/node/test/.tmp.4493/project-watch-watch-path-args/25.js'",
"Restarting '/home/runner/work/node/node/node/test/.tmp.4493/project-watch-watch-path-args/25.js'",
'no cli arg ends with .js',
+ "Completed running '/home/runner/work/node/node/node/test/.tmp.4493/project-watch-watch-path-args/25.js'. Waiting for file changes before restarting..."
- "Completed running '/home/runner/work/node/node/node/test/.tmp.4493/project-watch-watch-path-args/25.js'"
]
at TestContext.<anonymous> (file:///home/runner/work/node/node/node/test/sequential/test-watch-mode.mjs:836:12)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async Test.run (node:internal/test_runner/test:1069:7)
at async Suite.processPendingSubtests (node:internal/test_runner/test:752:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: [Array],
expected: [Array],
operator: 'deepStrictEqual'
}
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
0% - 0 hits, 0 misses, 0 errors
|
|
sccache stats
0% - 0 hits, 0 misses, 0 errors
|