Spaces:
Running
Running
Download frontend/vitest.config.js from vishalharkal/BookMind: direct link, hf CLI and curl.
- Browser
- Download file 651 Bytes
-
https://huggingface.co/spaces/vishalharkal/BookMind/resolve/main/frontend/vitest.config.js
- Command line
-
hf download hf://spaces/vishalharkal/BookMind/frontend/vitest.config.js
-
curl -L -o vitest.config.js https://huggingface.co/spaces/vishalharkal/BookMind/resolve/main/frontend/vitest.config.js
651 Bytes
| import { defineConfig } from 'vitest/config' | |
| import react from '@vitejs/plugin-react' | |
| import path from 'path' | |
| export default defineConfig({ | |
| plugins: [react()], | |
| esbuild: { | |
| loader: 'jsx', | |
| include: /src\/.*\.js$/, | |
| exclude: [], | |
| }, | |
| test: { | |
| globals: true, | |
| environment: 'jsdom', | |
| setupFiles: './src/setupTests.js', | |
| coverage: { | |
| provider: 'v8', | |
| reporter: ['text', 'json', 'html'], | |
| exclude: ['node_modules/', 'src/setupTests.js'], | |
| }, | |
| }, | |
| resolve: { | |
| alias: { | |
| '@': path.resolve(__dirname, './src'), | |
| }, | |
| }, | |
| }) | |