import { mockFile } from "https://deno.land/x/deno_slack_hooks@0.2.0/dev_deps.ts";
const { prepareLocalFile } = mockFile;
Preload the file that will be opened/read later.
import { prepareLocalFile } from "https://deno.land/x/mock_file@$VERSION/mod.ts";
await prepareLocalFile("./path/to/file.txt")
const file = Deno.openSync("./path/to/file.txt")
Parameters
path: string | URL