Skip to content

Commit 6414815

Browse files
committed
chore: remove redundant otplib-cli vitest project and coverage config (covered by packages)
1 parent fb2df14 commit 6414815

File tree

1 file changed

+1
-20
lines changed

1 file changed

+1
-20
lines changed

vitest.config.ts

Lines changed: 1 addition & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -56,27 +56,14 @@ export default defineConfig({
5656
exclude: ["**/node_modules/**", "dist/**"],
5757
},
5858
}),
59-
defineProject({
60-
resolve: {
61-
alias,
62-
},
63-
test: {
64-
name: "otplib-cli",
65-
root: path.resolve(__dirname, "packages/otplib-cli"),
66-
globals: true,
67-
environment: "node",
68-
include: ["**/*.test.ts"],
69-
exclude: ["**/node_modules/**", "dist/**"],
70-
},
71-
}),
7259
],
7360
// Global coverage settings
7461
coverage: {
7562
provider: "v8",
7663
reporter: process.env.CI
7764
? ["text", "json", "lcov", "json-summary"]
7865
: ["text", "json", "html", "lcov", "json-summary"],
79-
include: ["packages/*/src/**/*.ts", "packages/otplib-cli/src/**/*.ts"],
66+
include: ["packages/*/src/**/*.ts"],
8067
exclude: [
8168
"node_modules/",
8269
"dist/**",
@@ -94,12 +81,6 @@ export default defineConfig({
9481
functions: 100,
9582
statements: 100,
9683
},
97-
"packages/otplib-cli/src/**": {
98-
lines: 100,
99-
branches: 100,
100-
functions: 100,
101-
statements: 100,
102-
},
10384
},
10485
},
10586
},

0 commit comments

Comments
 (0)