This test assumes it is called in the following way:
deno test --unstable --allow-run ./src/guard.withPermissions.test.ts
We implicitly test the guard via the examples in the ./examples/
directory. This is because
guard() can call
Deno.exit(1) which it
looks like we can't yet mock, and will exit our tests early.
Generated using TypeDoc