deps: update amaro to 0.3.2 #67514
Annotations
2 errors and 1 notice
Test:
test/parallel/test-node-output-eval.mjs#L38
--- stdout ---
Test failure: 'eval/stdin_typescript.js'
Location: test/parallel/test-node-output-eval.mjs:37:5
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
+ actual - expected
... Skipped lines
'[stdin]:1\n' +
'enum Foo{};\n' +
'^^^^\n' +
' x TypeScript enum is not supported in strip-only mode\n' +
' ,----\n' +
...
' ^^^\n' +
+ " x 'const' declarations must be initialized\n" +
+ ' ,----\n' +
+ ' 1 | const foo;\n' +
+ ' : ^^^\n' +
+ ' `----\n' +
'\n' +
'SyntaxError: Missing initializer in const declaration\n' +
'\n' +
'Node.js *\n' +
'[stdin]:1\n' +
'const foo;\n' +
' ^^^\n' +
+ " x 'const' declarations must be initialized\n" +
+ ' ,----\n' +
+ ' 1 | const foo;\n' +
+ ' : ^^^\n' +
+ ' `----\n' +
'\n' +
'SyntaxError: Missing initializer in const declaration\n' +
'\n' +
'Node.js *\n' +
'100\n' +
...
'[stdin]:1\n' +
+ 'interface Foo{};const foo;\n' +
+ ' ^^^\n' +
+ " x 'const' declarations must be initialized\n" +
+ ' ,----\n' +
+ ' 1 | interface Foo{};const foo;\n' +
+ ' : ^^^\n' +
+ ' `----\n' +
- ' ;const foo;\n' +
- ' ^^^\n' +
'\n' +
+ "SyntaxError: Unexpected identifier 'Foo'\n" +
- 'SyntaxError: Missing initializer in const declaration\n' +
'\n' +
'Node.js *\n' +
'[stdin]:1\n' +
+ 'interface Foo{};const foo;\n' +
+ '^^^^^^^^^\n' +
+ " x 'const' declarations must be initialized\n" +
+ ' ,----\n' +
+ ' 1 | interface Foo{};const foo;\n' +
+ ' : ^^^\n' +
+ ' `----\n' +
- ' ;const foo;\n' +
- ' ^^^\n' +
'\n' +
+ 'SyntaxError: Unexpected strict mode reserved word\n' +
- 'SyntaxError: Missing initializer in const declaration\n' +
'\n' +
'Node.js *\n' +
'[stdin]:1\n' +
'function foo(){ await Promise.resolve(1)};\n' +
' ^^^^^\n' +
at assertSnapshot (/home/runner/work/node/node/node/test/common/assertSnapshot.js:56:12)
at async Module.spawnAndAssert (/home/runner/work/node/node/node/test/common/assertSnapshot.js:91:3)
at async TestContext.<anonymous> (file:///home/runner/work/node/node/node/test/parallel/test-node-output-eval.mjs:38:7)
at async Test.run (node:internal/test_runner/test:990:9)
at async Promise.all (index 2)
at async Suite.run (node:internal/test_runner/test:1374:7)
at async startSubtestAfterBootstrap (node:internal/test_runner/harness:308:3) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: '[stdin]:1\n' +
'enum Foo{};\n' +
'^^^^\n' +
' x TypeScript enum is not supported in strip-only mode\n' +
' ,----\n' +
' 1 | enum Foo{};\n' +
' : ^^^^^^^^^^\n' +
' `----\n' +
'\n' +
'SyntaxError: Unexpected reserved word\n' +
'...',
expected: '[stdin]:1\n' +
'enum Foo{};\n' +
'^^^^\n' +
' x TypeScript enum is not supported in strip-only mode\n' +
' ,----\n' +
' 1 | enum Foo{};\n' +
' : ^^^^^^^^^^\n' +
' `----\n' +
'\n' +
'SyntaxError: Unexpected reserved word\n' +
'...',
operator: 'strictEqual'
}
Test failure: 'eval/eval_typescript.js'
Location: test/parallel/test-node-output-eval.mjs:37:5
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
+ actual - expected
... Skipped lines
'[eval]:1\n' +
'enum Foo{};\n' +
'^^^^\n' +
' x TypeScript enum is not supported in strip-only mode\n' +
' ,----\n' +
...
' ^^^\n' +
+ " x 'const' declarations must be initialized\n" +
+ ' ,----\n' +
+ ' 1 | const foo;\n' +
+ ' : ^^^\n' +
+ ' `----\n' +
'\n' +
'SyntaxError: Missing initializer in const declaration\n' +
'\n' +
'Node.js *\n' +
'100\n' +
...
'[eval]:1\n' +
+ 'interface Foo{};const foo;\n' +
+ ' ^^^\n' +
+ " x 'const' declarations must be initialized\n" +
+ ' ,----\n' +
+ ' 1 | interface Foo{};const
|
Test
Process completed with exit code 2.
|
Post Set up sccache
0% - 0 hits, 0 misses, 0 errors
|
Loading