Testing Framwork #17
+19
-1
@@ -27,7 +27,25 @@ export default defineConfig({
|
||||
coverage: {
|
||||
provider: "v8",
|
||||
reporter: ["text", "lcov"],
|
||||
thresholds: { lines: 85, functions: 85, statements: 85, branches: 80 },
|
||||
include: [
|
||||
"app/**/*.{js,jsx,ts,tsx}",
|
||||
"components/**/*.{js,jsx,ts,tsx}",
|
||||
"!**/*.test.{js,jsx,ts,tsx}",
|
||||
"!**/*.spec.{js,jsx,ts,tsx}",
|
||||
"!**/node_modules/**",
|
||||
"!**/tests/**",
|
||||
],
|
||||
exclude: [
|
||||
"**/node_modules/**",
|
||||
"**/tests/**",
|
||||
"**/*.test.{js,jsx,ts,tsx}",
|
||||
"**/*.spec.{js,jsx,ts,tsx}",
|
||||
"**/coverage/**",
|
||||
"**/.next/**",
|
||||
"**/dist/**",
|
||||
"**/build/**",
|
||||
],
|
||||
thresholds: { lines: 50, functions: 50, statements: 50, branches: 50 },
|
||||
},
|
||||
pool: "threads",
|
||||
testTimeout: 10000,
|
||||
|
||||
Reference in New Issue
Block a user