microsoft/typespec

Public

mirrored from https://github.com/microsoft/typespecAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
copilot/add-client-method-instrumentation

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

packages/html-program-viewer/test/setup.ts

8lines · modecode

1import "@testing-library/jest-dom/vitest";
2import { cleanup } from "@testing-library/react";
3import { afterEach } from "vitest";
4
5// runs a clean after each test case (e.g. clearing jsdom)
6afterEach(() => {
7 cleanup();
8});
9