Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/fresh/tests/test_utils.ts>waitFor

The next-gen web framework.
Extremely Popular
Go to Latest
function waitFor
import { waitFor } from "https://deno.land/x/fresh@1.5.1/tests/test_utils.ts";

Parameters

fn: () => Promise<unknown> | unknown

Returns

Promise<void>