Spaces:
Running
Running
Download vitest.integration.config.ts from Felladrin/MiniSearch: direct link, hf CLI and curl.
- Browser
- Download file 515 Bytes
-
https://huggingface.co/spaces/Felladrin/MiniSearch/resolve/main/vitest.integration.config.ts
- Command line
-
hf download hf://spaces/Felladrin/MiniSearch/vitest.integration.config.ts
-
curl -L -o vitest.integration.config.ts https://huggingface.co/spaces/Felladrin/MiniSearch/resolve/main/vitest.integration.config.ts
515 Bytes
| import { defineConfig } from "vitest/config"; | |
| /** | |
| * Runs the reranker integration test, which loads the real ONNX model. Kept | |
| * separate from vitest.config.ts because it needs the node environment and must | |
| * not load the jsdom-only client setup file. | |
| * | |
| * npx vitest run --config vitest.integration.config.ts | |
| */ | |
| export default defineConfig({ | |
| test: { | |
| globals: true, | |
| environment: "node", | |
| include: ["server/**/*.integration.test.ts"], | |
| testTimeout: 600_000, | |
| hookTimeout: 900_000, | |
| }, | |
| }); | |