test-utils
test-utils copied to clipboard
feat: use `memfs` (or equivalent) to allow for mocking files in tests
It would be really convenient if we could mock a filesystem and inject files into it through the test utils.
E.g. if my module reads in a config from a .json file in the rootDirectory, it would be nice to test that without creating multiple fixtures.