Spaces:
Sleeping
Sleeping
Download vitest.config.js from dangkhoa2016/Nodejs-JSON-API-Server: direct link, hf CLI and curl.
- Browser
- Download file 367 Bytes
-
https://huggingface.co/spaces/dangkhoa2016/Nodejs-JSON-API-Server/resolve/42e30c2fc13d198cc76d79446c2a4308bbca4162/vitest.config.js
- Command line
-
hf download hf://spaces/dangkhoa2016/Nodejs-JSON-API-Server@42e30c2fc13d198cc76d79446c2a4308bbca4162/vitest.config.js
-
curl -L -o vitest.config.js https://huggingface.co/spaces/dangkhoa2016/Nodejs-JSON-API-Server/resolve/42e30c2fc13d198cc76d79446c2a4308bbca4162/vitest.config.js
367 Bytes
| import { defineConfig } from 'vitest/config' | |
| process.env.NODE_ENV = 'test'; | |
| process.env.PORT = '3199'; | |
| export default defineConfig({ | |
| test: { | |
| globals: true, | |
| testTimeout: 15000, | |
| hookTimeout: 15000, | |
| fileParallelism: false, | |
| coverage: { | |
| provider: 'v8', | |
| reporter: ['text', 'lcov', 'html'], | |
| include: ['src/**/*.js'], | |
| }, | |
| }, | |
| }) | |