Skip to content

Virtual File System for Node.js #71867

Virtual File System for Node.js

Virtual File System for Node.js #71867

Triggered via pull request January 29, 2026 19:53
Status Failure
Total duration 50m 55s
Artifacts

test-macos.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 1 notice
test-macOS
Process completed with exit code 2.
test-macOS: test/parallel/test-runner-mock-fs.js#L50
--- stderr --- (node:20031) ExperimentalWarning: VirtualFileSystem is an experimental feature and might change at any time (Use `node --trace-warnings ...` to show where the warning was created) (node:20031) ExperimentalWarning: Module._stat is an experimental feature and might change at any time --- stdout --- Test failure: 'mock.fs() works without initial files' Location: test/parallel/test-runner-mock-fs.js:46:1 Error: ENOENT: no such file or directory, open '/file1.txt' at VirtualFileSystem._toProviderPath (node:internal/vfs/file_system:315:15) at VirtualFileSystem.writeFileSync (node:internal/vfs/file_system:422:31) at MockFSContext.addFile (node:internal/test_runner/mock/mock:451:15) at TestContext.<anonymous> (/Users/runner/work/node/node/node/test/parallel/test-runner-mock-fs.js:50:10) at Test.runInAsyncScope (node:async_hooks:226:14) at Test.run (node:internal/test_runner/test:1109:25) at Test.processPendingSubtests (node:internal/test_runner/test:786:18) at Test.postRun (node:internal/test_runner/test:1238:19) at Test.run (node:internal/test_runner/test:1166:12) at async Test.processPendingSubtests (node:internal/test_runner/test:786:7) { errno: -2, syscall: 'open', code: 'ENOENT', path: '/file1.txt' } Test failure: 'mock.fs() supports adding directories' Location: test/parallel/test-runner-mock-fs.js:58:1 Error: ENOENT: no such file or directory, open '/src' at VirtualFileSystem._toProviderPath (node:internal/vfs/file_system:315:15) at VirtualFileSystem.mkdirSync (node:internal/vfs/file_system:455:31) at MockFSContext.addDirectory (node:internal/test_runner/mock/mock:459:15) at TestContext.<anonymous> (/Users/runner/work/node/node/node/test/parallel/test-runner-mock-fs.js:61:10) at Test.runInAsyncScope (node:async_hooks:226:14) at Test.run (node:internal/test_runner/test:1109:25) at Test.processPendingSubtests (node:internal/test_runner/test:786:18) at Test.postRun (node:internal/test_runner/test:1238:19) at Test.run (node:internal/test_runner/test:1166:12) at async Test.processPendingSubtests (node:internal/test_runner/test:786:7) { errno: -2, syscall: 'open', code: 'ENOENT', path: '/src' } Test failure: 'mock.fs() exposes vfs property' Location: test/parallel/test-runner-mock-fs.js:140:1 AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: + actual - expected + 'undefined' - 'function' at TestContext.<anonymous> (/Users/runner/work/node/node/node/test/parallel/test-runner-mock-fs.js:151:10) at Test.runInAsyncScope (node:async_hooks:226:14) at Test.run (node:internal/test_runner/test:1109:25) at Test.processPendingSubtests (node:internal/test_runner/test:786:18) at Test.postRun (node:internal/test_runner/test:1238:19) at Test.run (node:internal/test_runner/test:1166:12) at async Test.processPendingSubtests (node:internal/test_runner/test:786:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'undefined', expected: 'function', operator: 'strictEqual', diff: 'simple' } Test failure: 'mock.fs() supports dynamic file content' Location: test/parallel/test-runner-mock-fs.js:160:1 Error: ENOENT: no such file or directory, open '/counter.txt' at VirtualFileSystem._toProviderPath (node:internal/vfs/file_system:315:15) at VirtualFileSystem.writeFileSync (node:internal/vfs/file_system:422:31) at MockFSContext.addFile (node:internal/test_runner/mock/mock:451:15) at TestContext.<anonymous> (/Users/runner/work/node/node/node/test/parallel/test-runner-mock-fs.js:164:10) at Test.runInAsyncScope (node:async_hooks:226:14) at Test.run (node:internal/test_runner/test:1109:25) at Test.processPendingSubtests (node:internal/test_runner/test:786:18) at Test.postRun (node:internal/test_runner/test:1238:19) at Test.run (node:internal/test_runner/test:1166:12) at async Test.processPendingSubtests (node:internal/test_runner/test:786:7) { errno: -2, syscall: 'open', code: 'ENOENT', path: '/counter.txt' } Test failure: 'mock.f
sccache stats
0% - 0 hits, 0 misses, 0 errors