Skip to content

Commit 9bada85

Browse files
committed
update vitest
1 parent cbdbb36 commit 9bada85

File tree

4 files changed

+774
-379
lines changed

4 files changed

+774
-379
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,4 @@ dashboard/.next
1010
dashboard/.vscode
1111

1212
tmp
13+
coverage

package.json

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,24 +13,19 @@
1313
"url": "https://github.com/code-store-platform/arcxp-sdk-ts"
1414
},
1515
"homepage": "https://github.com/code-store-platform/arcxp-sdk-ts",
16-
"files": [
17-
"dist"
18-
],
16+
"files": ["dist"],
1917
"scripts": {
2018
"build": "tsc",
2119
"format": "npx @biomejs/biome format --write .",
2220
"check": "npx @biomejs/biome check --write .",
2321
"lint": "tsc --noEmit && npx @biomejs/biome lint --write --unsafe .",
2422
"test": "vitest",
23+
"coverage": "vitest run --coverage",
2524
"gen:ts": "npx ts-node-dev ./src/scripts/json-schema-to-ts.ts",
2625
"cs": "npx changeset && npx changeset version",
2726
"swaggerToTypes": "npx swagger-typescript-api -p ./tmp/swagger.json -o ./tmp -n swaggerTypes.ts"
2827
},
29-
"keywords": [
30-
"ArcXP",
31-
"SDK",
32-
"Code.Store"
33-
],
28+
"keywords": ["ArcXP", "SDK", "Code.Store"],
3429
"author": "code.store",
3530
"license": "MIT",
3631
"dependencies": {
@@ -56,6 +51,7 @@
5651
"tap": "^16.3.4",
5752
"ts-node-dev": "^2.0.0",
5853
"typescript": "^5.3.3",
59-
"vitest": "^0.33.0"
54+
"@vitest/coverage-v8": "^3.0.9",
55+
"vitest": "^3.0.9"
6056
}
6157
}

0 commit comments

Comments
 (0)