Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/fresh_testing_library/components.ts>setup

Utilities for testing fresh apps
Go to Latest
function setup
import { setup } from "https://deno.land/x/fresh_testing_library@0.13.0/components.ts";

This function sets up the DOM environment to make Testing Library work.

This function must be called at least once before using various APIs of Testing Library.

Parameters

optional
options: SetupOptions