Spaces:
Sleeping
Sleeping
Download src/test/setup.ts from Aiprojectttt/DistractIQ: direct link, hf CLI and curl.
- Browser
- Download file 353 Bytes
-
https://huggingface.co/spaces/Aiprojectttt/DistractIQ/resolve/main/src/test/setup.ts
- Command line
-
hf download hf://spaces/Aiprojectttt/DistractIQ/src/test/setup.ts
-
curl -L -o setup.ts https://huggingface.co/spaces/Aiprojectttt/DistractIQ/resolve/main/src/test/setup.ts
353 Bytes
| import "@testing-library/jest-dom"; | |
| Object.defineProperty(window, "matchMedia", { | |
| writable: true, | |
| value: (query: string) => ({ | |
| matches: false, | |
| media: query, | |
| onchange: null, | |
| addListener: () => {}, | |
| removeListener: () => {}, | |
| addEventListener: () => {}, | |
| removeEventListener: () => {}, | |
| dispatchEvent: () => {}, | |
| }), | |
| }); | |