beeler
Basic Mocking example for `override global or imported objects` does not work
I am following the example https://docs.deno.com/examples/testing_tutorial/#basic-mocking and when run with
deno test --no-check
the example fails with:
I'm running with --no-checks
to prove its not only a type issue, but the type checker does catch it if you remove the --no-check
flag.
Is there anyway to get this example to work or another way to isolate imports
in Deno?
I am using the latest Deno:
4 replies