Skip to content

armgit / jan

Public Imported from GitHub
0

Jan is an open source alternative to ChatGPT that runs 100% offline on your computer.

fix: vitest config - coverage lcov

Louis09a45baa5d29
diff --git a/vitest.config.ts b/vitest.config.ts
index 58d4bceeb..6efe8c8c4 100644
--- a/vitest.config.ts
+++ b/vitest.config.ts
@@ -5,9 +5,13 @@ export default defineConfig({
projects: [
// Core package - use its own vitest config
'./core',
-
- // Web-app package - use its own vitest config
- './web-app'
- ]
- }
-})
\ No newline at end of file
+
+ // Web-app package - use its own vitest config
+ './web-app',
+ ],
+ coverage: {
+ provider: 'v8',
+ reporter: ['text', 'json', 'html', 'lcov'],
+ },
+ },
+})