Hello! I'd like to mock the filesystem for some BDD tests - in other words, create some fake files before a test and tear them down afterwards. I need these mocks to specifically affect require.resolverequire.resolve calls.
Do you have an example of this I could crib from?
No replies yet
Join the Discord to continue the conversation
D
Deno
Chat about Deno, a modern runtime for JavaScript and TypeScript.