Download github_code/freeCodeCamp__freeCodeCamp/client/vitest.config.js from Corpus-NZ/High-Quality-Code: direct link, hf CLI and curl.
- Browser
- Download file 513 Bytes
-
https://huggingface.co/datasets/Corpus-NZ/High-Quality-Code/resolve/refs%2Fpr%2F4/github_code/freeCodeCamp__freeCodeCamp/client/vitest.config.js
- Command line
-
hf download hf://datasets/Corpus-NZ/High-Quality-Code@refs/pr/4/github_code/freeCodeCamp__freeCodeCamp/client/vitest.config.js
-
curl -L -o vitest.config.js https://huggingface.co/datasets/Corpus-NZ/High-Quality-Code/resolve/refs%2Fpr%2F4/github_code/freeCodeCamp__freeCodeCamp/client/vitest.config.js
513 Bytes
| /// <reference types="vitest/config" /> | |
| import { defineConfig } from 'vitest/config'; | |
| export default defineConfig({ | |
| test: { | |
| setupFiles: 'vitest-setup.js', | |
| projects: [ | |
| { | |
| extends: true, | |
| test: { | |
| include: '**/*.test.{jsx,tsx}', | |
| name: 'react', | |
| environment: 'jsdom' | |
| } | |
| }, | |
| { | |
| extends: true, | |
| test: { | |
| include: '**/*.test.{js,ts}', | |
| name: 'js', | |
| environment: 'node' | |
| } | |
| } | |
| ] | |
| } | |
| }); | |