• Equivalent of jest.isolateModules() for async functions to be wrapped. The caller is expected to await the completion of jest.isolateModulesAsync().

    Parameters

    • fn: () => Promise<void>

    Returns Promise<void>