Closed
Description
When updating to node 20, mock-fs
breaks.
We use mock-fs extensively in unit tests to load fake adaptor files and such. Bumping the mock-fs version helps, but we also have a problem dynamically importing modues.
Basically mock-fs will only mock the filesystem for node:fs
. When using import()
(as we do in the runtime to load adaptors), the file system isn't mocked out at all.