repl: add block-based history navigation #79239
Annotations
3 errors and 1 notice
|
test-macOS
Process completed with exit code 2.
|
|
test-macOS:
test/parallel/test-repl-history-navigation.js#L894
--- stderr ---
node:internal/process/promises:324
triggerUncaughtException(err, true /* fromPromise */);
^
AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal:
+ actual - expected
... Skipped lines
[
'\x1B[1G',
'\x1B[0J',
'> ',
'\x1B[3G',
...
'\x1B[0J',
+ '> 5 + 5',
+ '\x1B[8G',
+ '\x1B[1G',
+ '\x1B[0J',
'> 555n + 111n',
'\x1B[14G',
'\x1B[1G',
'\x1B[0J',
+ '> const foo = true',
+ '\x1B[19G',
+ '\x1B[1G',
+ '\x1B[0J',
'> 555 + 909',
'\x1B[12G',
'\x1B[1G',
'\x1B[0J',
+ '> Array(100).fill(1).map((e, i) => i ** 2)',
+ '\x1B[43G',
+ '\x1B[1G',
+ '\x1B[0J',
+ '> {key : {key2 :[] }}',
+ '\x1B[22G',
- '> 55',
- '\x1B[5G',
'\r\n',
+ '{ key: { key2: [] } }\n',
- '55\n',
'\x1B[1G',
'\x1B[0J',
'> ',
'\x1B[3G',
'\r\n'
at REPLServer.<anonymous> (/Users/runner/work/node/node/node/test/parallel/test-repl-history-navigation.js:894:16)
at REPLServer.<anonymous> (/Users/runner/work/node/node/node/test/common/index.js:510:15)
at REPLServer.wrapper (node:events:639:12)
at REPLServer.emit (node:events:526:24)
at REPLServer.close (node:internal/readline/interface:564:10)
at node:repl:909:58 {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: [
'\x1B[1G',
'\x1B[0J',
'> ',
'\x1B[3G',
'5',
'5',
'\x1B[1G',
'\x1B[0J',
'> 55 - 13 === 42',
'\x1B[17G',
'\x1B[1G',
'\x1B[0J',
'> 5 + 5',
'\x1B[8G',
'\x1B[1G',
'\x1B[0J',
'> 555n + 111n',
'\x1B[14G',
'\x1B[1G',
'\x1B[0J',
'> const foo = true',
'\x1B[19G',
'\x1B[1G',
'\x1B[0J',
'> 555 + 909',
'\x1B[12G',
'\x1B[1G',
'\x1B[0J',
'> Array(100).fill(1).map((e, i) => i ** 2)',
'\x1B[43G',
'\x1B[1G',
'\x1B[0J',
'> {key : {key2 :[] }}',
'\x1B[22G',
'\r\n',
'{ key: { key2: [] } }\n',
'\x1B[1G',
'\x1B[0J',
'> ',
'\x1B[3G',
'\r\n'
],
expected: [
'\x1B[1G', '\x1B[0J',
'> ', '\x1B[3G',
'5', '5',
'\x1B[1G', '\x1B[0J',
'> 55 - 13 === 42', '\x1B[17G',
'\x1B[1G', '\x1B[0J',
'> 555n + 111n', '\x1B[14G',
'\x1B[1G', '\x1B[0J',
'> 555 + 909', '\x1B[12G',
'\x1B[1G', '\x1B[0J',
'> 55', '\x1B[5G',
'\r\n', '55\n',
'\x1B[1G', '\x1B[0J',
'> ', '\x1B[3G',
'\r\n'
],
operator: 'deepStrictEqual',
diff: 'simple'
}
Node.js v27.0.0-pre
Command: out/Release/node --expose-internals /Users/runner/work/node/node/node/test/parallel/test-repl-history-navigation.js
|
|
test-macOS:
test/parallel/test-debugger-exec-scope.mjs#L0
--- stderr ---
/Users/runner/work/node/node/node/test/common/debugger.js:92
const timeoutErr = new Error(`Timeout (${TIMEOUT}) while waiting for ${pattern}`);
^
Error: Timeout (15000) while waiting for /break (?:on start )?in/i
at /Users/runner/work/node/node/node/test/common/debugger.js:92:28
at new Promise (<anonymous>)
at Object.waitFor (/Users/runner/work/node/node/node/test/common/debugger.js:67:14)
at Object.waitForInitialBreak (/Users/runner/work/node/node/node/test/common/debugger.js:116:18)
at file:///Users/runner/work/node/node/node/test/parallel/test-debugger-exec-scope.mjs:13:13
at ModuleJob.run (node:internal/modules/esm/module_job:569:25)
at async node:internal/modules/esm/loader:650:26
at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:101:5) {
output: '\n' +
'< Debugger listening on ws://127.0.0.1:55314/5393f717-2913-449e-a16f-9ce9b2067704\n' +
'< For help, see: https://nodejs.org/learn/getting-started/debugging\n' +
'< \n' +
'connecting to 127.0.0.1:55314 ...\n' +
' ok\n' +
'< Debugger attached.\n' +
'< \n' +
'\n' +
'debug> '
}
Node.js v27.0.0-pre
Command: out/Release/node /Users/runner/work/node/node/node/test/parallel/test-debugger-exec-scope.mjs
|
|
sccache stats - test-macOS
49% - 2478 hits, 2557 misses, 0 errors
|