From cde0458dc858b0923638b503e1a0bc2759d2c72e Mon Sep 17 00:00:00 2001
From: Jason Rasmussen <jason@rasm.me>
Date: Tue, 20 Aug 2024 07:50:09 -0400
Subject: [PATCH] fix(server): coverage reports (#11925)

---
 server/vitest.config.mjs | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/server/vitest.config.mjs b/server/vitest.config.mjs
index 8811dafaf8..3c0ea00c84 100644
--- a/server/vitest.config.mjs
+++ b/server/vitest.config.mjs
@@ -6,6 +6,16 @@ export default defineConfig({
   test: {
     root: './',
     globals: true,
+    coverage: {
+      provider: 'v8',
+      include: ['src/cores/**', 'src/interfaces/**', 'src/services/**', 'src/utils/**'],
+      thresholds: {
+        lines: 80,
+        statements: 80,
+        branches: 85,
+        functions: 85,
+      },
+    },
     server: {
       deps: {
         fallbackCJS: true,