import { mock } from "https://deno.land/x/hex@0.6.5/src/lib/stdx/testing.ts";
const { mockSession } = mock;
Creates a session that tracks all mocks created before it's restored. If a callback is provided, it restores all mocks created within it.
x/hex/src/lib/stdx/testing.ts>mock.mockSession
import { mock } from "https://deno.land/x/hex@0.6.5/src/lib/stdx/testing.ts";
const { mockSession } = mock;
Creates a session that tracks all mocks created before it's restored. If a callback is provided, it restores all mocks created within it.