chore: configure jest coverage
This commit is contained in:
+3
-1
@@ -12,6 +12,7 @@
|
||||
"test:unit": "jest",
|
||||
"test:coverage": "jest --coverage",
|
||||
"test:coverage:check": "jest --coverage --ci",
|
||||
"coverage:report": "open coverage/lcov-report/index.html",
|
||||
"test:e2e": "cd e2e && npm test",
|
||||
"test:smoke": "cd e2e && npx playwright test --grep @smoke",
|
||||
"test:tier:fast": "cd e2e && TEST_TIER=fast npx playwright test --config=playwright.config.tiered.ts",
|
||||
@@ -45,7 +46,8 @@
|
||||
"lighthouse:assert": "lhci assert",
|
||||
"lighthouse:upload": "lhci upload",
|
||||
"lighthouse:desktop": "lhci autorun --settings.preset=desktop",
|
||||
"lighthouse:mobile": "lhci autorun --settings.preset=mobile"
|
||||
"lighthouse:mobile": "lhci autorun --settings.preset=mobile",
|
||||
"prepare": "husky"
|
||||
},
|
||||
"dependencies": {
|
||||
"@antv/g2": "^5.4.8",
|
||||
|
||||
Reference in New Issue
Block a user