Skip to content

Commit

Permalink
#15 🔧工具(test): 增加测试代码覆盖率的输出
Browse files Browse the repository at this point in the history
  • Loading branch information
Gaubee committed Mar 29, 2021
1 parent c9baf01 commit e40f871
Show file tree
Hide file tree
Showing 3 changed files with 2,073 additions and 68 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,6 @@ packages/test/data
.DS_Store
*.code-workspace
.vscode/tasks.json
data
data
.nyc_output
coverage
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"scripts": {
"dev": "tsc -b -w",
"test": "ava",
"ava": "node ./node_modules/ava/cli.js",
"test:cov": "nyc --reporter=lcov --reporter=text-summary --use-spawn-wrap ava",
"i": "pnpm m i",
"clear": "rimraf packages/*/build",
"docs:dev": "vitepress dev docs",
Expand Down Expand Up @@ -43,6 +43,7 @@
"husky": "^5.1.3",
"lerna": "^3.22.1",
"lint-staged": "^10.5.4",
"nyc": "^15.1.0",
"rimraf": "^3.0.2",
"ts-node": "^9.1.1",
"typescript": "^4.2.3",
Expand Down

2 comments on commit e40f871

@vercel
Copy link

@vercel vercel bot commented on e40f871 Mar 29, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deployment failed with the following error:

The most recent charge for your active payment method has failed. Please update it here: https://vercel.com/teams/bn-kvh/settings/billing.

@Gaubee
Copy link
Author

@Gaubee Gaubee commented on e40f871 Mar 31, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@lymanlai pnpm与nyc这个测试覆盖率的工具有点不兼容。
istanbuljs/nyc#1308
你看看有没有其它同类工具可以替代的?

Please sign in to comment.