Something went wrong. Try again.
An in-browser wisp.place site explorer
Something went wrong. Try again.
296 B · 11 lines
TypeScript
at main
123456789101112import { expect, afterEach } from 'vitest';import { cleanup } from '@testing-library/react';import * as matchers from '@testing-library/jest-dom/matchers';
// Extend Vitest's expect with jest-dom matchersexpect.extend(matchers);
// Cleanup after each testafterEach(() => { cleanup();});