bennyp
bennyp3w ago

Mocking the FileSystem

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.resolve calls. Do you have an example of this I could crib from?
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?