fs: refactoring declaratively with the Array.fromAsync function #55866
Annotations
2 errors and 1 notice
Test:
test/benchmark/test-benchmark-fs.js#L1
--- stderr ---
/Users/runner/work/node/node/benchmark/common.js:142
throw new TypeError(
^
TypeError: configuration "useAsync" had type boolean
at recursive (/Users/runner/work/node/node/benchmark/common.js:142:17)
at recursive (/Users/runner/work/node/node/benchmark/common.js:154:11)
at recursive (/Users/runner/work/node/node/benchmark/common.js:154:11)
at recursive (/Users/runner/work/node/node/benchmark/common.js:154:11)
at Benchmark._queue (/Users/runner/work/node/node/benchmark/common.js:170:7)
at new Benchmark (/Users/runner/work/node/node/benchmark/common.js:48:25)
at Object.createBenchmark (/Users/runner/work/node/node/benchmark/common.js:439:12)
at Object.<anonymous> (/Users/runner/work/node/node/benchmark/fs/bench-glob.js:18:22)
at Module._compile (node:internal/modules/cjs/loader:1546:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1691:10)
Node.js v23.0.0-pre
node:assert:126
throw new AssertionError(obj);
^
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
1 !== 0
at ChildProcess.<anonymous> (/Users/runner/work/node/node/test/common/benchmark.js:28:12)
at ChildProcess.emit (node:events:519:28)
at ChildProcess._handle.onexit (node:internal/child_process:293:12) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 1,
expected: 0,
operator: 'strictEqual'
}
Node.js v23.0.0-pre
Command: out/Release/node --test-reporter=spec --test-reporter-destination=stdout --test-reporter=./tools/github_reporter/index.js --test-reporter-destination=stdout /Users/runner/work/node/node/test/benchmark/test-benchmark-fs.js
|
Test
Process completed with exit code 2.
|
Post Set up sccache
0% - 0 hits, 0 misses, 0 errors
|
Loading