Skip to content

Commit

Permalink
chore: modern-kit type codecoverage 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
ssi02014 committed Apr 28, 2024
1 parent 5e03c91 commit 3299cc2
Show file tree
Hide file tree
Showing 8 changed files with 29 additions and 1 deletion.
23 changes: 23 additions & 0 deletions .pnp.cjs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
3 changes: 2 additions & 1 deletion packages/types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
],
"scripts": {
"test": "vitest --typecheck",
"test:run": "vitest run --typecheck",
"test:run": "vitest run --coverage --typecheck",
"typecheck": "tsc",
"build": "rm -rf dist && yarn typecheck"
},
Expand All @@ -25,6 +25,7 @@
"access": "public"
},
"devDependencies": {
"@vitest/coverage-istanbul": "^1.5.2",
"tslib": "^2.6.2",
"typescript": "^5.1.6",
"vitest": "^1.5.0"
Expand Down
3 changes: 3 additions & 0 deletions packages/types/vitest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,8 @@ export default defineConfig({
name: packageJson.name,
dir: './src',
globals: true,
coverage: {
provider: 'istanbul',
},
},
});
1 change: 1 addition & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4340,6 +4340,7 @@ __metadata:
version: 0.0.0-use.local
resolution: "@modern-kit/types@workspace:packages/types"
dependencies:
"@vitest/coverage-istanbul": "npm:^1.5.2"
tslib: "npm:^2.6.2"
typescript: "npm:^5.1.6"
vitest: "npm:^1.5.0"
Expand Down

0 comments on commit 3299cc2

Please sign in to comment.