What's a good way to write tests for a script which does a bunch filesystem wrangling?
As per the title - I have a script which, given a folder, does a bunch of moving and renaming. I'd like to test it, ideally without having to abstract the entire fs away. The last timer I had to do this under Node.js I think I used mock-fsmock-fs, but that works directly with Node's fsfs API. What would be a good approach for doing this in Deno?
Continue the conversation
Join the Discord to ask follow-up questions and connect with the community
D
Deno
Chat about Deno, a modern runtime for JavaScript and TypeScript.