Fxtr
Copy files to tmp and read/write them.
Install
npm install --save-dev fxtr
Usage
import { fixtures } from "fxtr"
let { path, read, write } = await fixtures(__dirname, "fixtures")
write("test.json", { hello: "world" })
read("test.json") // { hello: "world" }