Download src/test/setup.ts from Jessedbrown/daisy-client: direct link, hf CLI and curl.
- Browser
- Download file 200 Bytes
-
https://huggingface.co/Jessedbrown/daisy-client/resolve/main/src/test/setup.ts
- Command line
-
hf download hf://Jessedbrown/daisy-client/src/test/setup.ts
-
curl -L -o setup.ts https://huggingface.co/Jessedbrown/daisy-client/resolve/main/src/test/setup.ts
200 Bytes
| import '@testing-library/jest-dom'; | |
| import { cleanup } from '@testing-library/react'; | |
| import { afterEach } from 'vitest'; | |
| // Automatically cleanup after each test | |
| afterEach(() => { | |
| cleanup(); | |
| }); | |