Sfoglia il codice sorgente

add coverage threshold

Yuki Takei 2 anni fa
parent
commit
c6d0b2a20f
1 ha cambiato i file con 6 aggiunte e 0 eliminazioni
  1. 6 0
      packages/pluginkit/vitest.config.ts

+ 6 - 0
packages/pluginkit/vitest.config.ts

@@ -9,5 +9,11 @@ export default defineConfig({
     environment: 'node',
     clearMocks: true,
     globals: true,
+    coverage: {
+      lines: 100,
+      functions: 100,
+      branches: 100,
+      statements: 100,
+    },
   },
 });