function mockSessionimport { mockSession } from "https://dotland.deno.dev/std@0.145.0/testing/mock.ts"; mockSession(): numberCreates a session that tracks all mocks created before it's restored. If a callback is provided, it restores all mocks created within it. mockSession<Self, Args extends unknown[], Return>(func: (this: Self, ...args: Args) => Return): (this: Self, ...args: Args) => ReturnmockSession<Self, Args extends unknown[], Return>(func?: (this: Self, ...args: Args) => Return): number | ((this: Self, ...args: Args) => Return)Creates a session that tracks all mocks created before it's restored. If a callback is provided, it restores all mocks created within it. ReturnsnumberType ParametersSelfArgs extends unknown[]ReturnParametersfunc: (this: Self, ...args: Args) => ReturnReturns(this: Self, ...args: Args) => ReturnType ParametersSelfArgs extends unknown[]ReturnParametersoptionalfunc: (this: Self, ...args: Args) => ReturnReturnsnumber | ((this: Self, ...args: Args) => Return)