mirror of
https://github.com/tiennm99/ai-labs.git
synced 2026-09-08 05:09:37 +00:00
Convert all 41 TypeScript source/config files in cc4e-course/quiz-project (Next.js), gstack (Astro), and superpowers (Vite/React/Phaser) to plain JavaScript with JSDoc type annotations, replacing tsconfig.json with jsconfig.json (strict + checkJs) in each subproject. No behavior changes: lint, typecheck, test, and build gates match their TypeScript baselines exactly in all three subprojects. Update stack references in the affected READMEs accordingly.
19 lines
386 B
JavaScript
19 lines
386 B
JavaScript
import { defineConfig } from 'vitest/config';
|
|
|
|
export default defineConfig({
|
|
test: {
|
|
include: ['src/**/*.test.js'],
|
|
coverage: {
|
|
provider: 'v8',
|
|
include: ['src/geom-engine/**/*.js'],
|
|
exclude: ['src/geom-engine/**/*.test.js'],
|
|
thresholds: {
|
|
lines: 95,
|
|
functions: 95,
|
|
branches: 90,
|
|
statements: 95,
|
|
},
|
|
},
|
|
},
|
|
});
|