Skip to content

Commit

Permalink
test: update vitest to coverage v8
Browse files Browse the repository at this point in the history
  • Loading branch information
favna committed Jun 7, 2023
1 parent b3c3767 commit a4bc6e4
Show file tree
Hide file tree
Showing 27 changed files with 303 additions and 310 deletions.
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@
"@types/lodash": "^4.14.195",
"@types/node": "^18.16.16",
"@types/ws": "^8.5.4",
"@typescript-eslint/eslint-plugin": "^5.59.8",
"@typescript-eslint/parser": "^5.59.8",
"@vitest/coverage-c8": "^0.31.4",
"@typescript-eslint/eslint-plugin": "^5.59.9",
"@typescript-eslint/parser": "^5.59.9",
"@vitest/coverage-v8": "^0.32.0",
"cz-conventional-changelog": "^3.3.0",
"discord-api-types": "^0.37.43",
"discord.js": "^14.11.0",
Expand All @@ -47,11 +47,11 @@
"rimraf": "^5.0.1",
"tslib": "^2.5.3",
"tsup": "^6.7.0",
"turbo": "^1.10.1",
"turbo": "^1.10.2",
"typedoc-json-parser": "^8.1.2",
"typescript": "^5.1.3",
"vite": "^4.3.9",
"vitest": "^0.31.4"
"vitest": "^0.32.0"
},
"repository": {
"type": "git",
Expand Down
6 changes: 3 additions & 3 deletions packages/async-queue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,11 @@
},
"devDependencies": {
"@favware/cliff-jumper": "^2.0.1",
"@vitest/coverage-c8": "^0.31.4",
"@vitest/coverage-v8": "^0.32.0",
"tsup": "^6.7.0",
"typedoc": "^0.24.7",
"typedoc": "^0.24.8",
"typedoc-json-parser": "^8.1.2",
"typescript": "^5.1.3",
"vitest": "^0.31.4"
"vitest": "^0.32.0"
}
}
6 changes: 3 additions & 3 deletions packages/bitfield/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,11 @@
},
"devDependencies": {
"@favware/cliff-jumper": "^2.0.1",
"@vitest/coverage-c8": "^0.31.4",
"@vitest/coverage-v8": "^0.32.0",
"tsup": "^6.7.0",
"typedoc": "^0.24.7",
"typedoc": "^0.24.8",
"typedoc-json-parser": "^8.1.2",
"typescript": "^5.1.3",
"vitest": "^0.31.4"
"vitest": "^0.32.0"
}
}
6 changes: 3 additions & 3 deletions packages/cron/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,11 @@
},
"devDependencies": {
"@favware/cliff-jumper": "^2.0.1",
"@vitest/coverage-c8": "^0.31.4",
"@vitest/coverage-v8": "^0.32.0",
"tsup": "^6.7.0",
"typedoc": "^0.24.7",
"typedoc": "^0.24.8",
"typedoc-json-parser": "^8.1.2",
"typescript": "^5.1.3",
"vitest": "^0.31.4"
"vitest": "^0.32.0"
}
}
6 changes: 3 additions & 3 deletions packages/decorators/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@
"@sapphire/ratelimits": "workspace:^",
"@sapphire/result": "workspace:^",
"@sapphire/utilities": "workspace:^",
"@vitest/coverage-c8": "^0.31.4",
"@vitest/coverage-v8": "^0.32.0",
"tsup": "^6.7.0",
"typedoc": "^0.24.7",
"typedoc": "^0.24.8",
"typedoc-json-parser": "^8.1.2",
"typescript": "^5.1.3",
"vitest": "^0.31.4"
"vitest": "^0.32.0"
},
"repository": {
"type": "git",
Expand Down
6 changes: 3 additions & 3 deletions packages/discord-utilities/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,11 @@
},
"devDependencies": {
"@favware/cliff-jumper": "^2.0.1",
"@vitest/coverage-c8": "^0.31.4",
"@vitest/coverage-v8": "^0.32.0",
"tsup": "^6.7.0",
"typedoc": "^0.24.7",
"typedoc": "^0.24.8",
"typedoc-json-parser": "^8.1.2",
"typescript": "^5.1.3",
"vitest": "^0.31.4"
"vitest": "^0.32.0"
}
}
2 changes: 1 addition & 1 deletion packages/discord.js-utilities/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"@favware/cliff-jumper": "^2.0.1",
"@favware/rollup-type-bundler": "^2.0.0",
"tsup": "^6.7.0",
"typedoc": "^0.24.7",
"typedoc": "^0.24.8",
"typedoc-json-parser": "^8.1.2",
"typescript": "^5.1.3"
}
Expand Down
6 changes: 3 additions & 3 deletions packages/duration/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,11 @@
},
"devDependencies": {
"@favware/cliff-jumper": "^2.0.1",
"@vitest/coverage-c8": "^0.31.4",
"@vitest/coverage-v8": "^0.32.0",
"tsup": "^6.7.0",
"typedoc": "^0.24.7",
"typedoc": "^0.24.8",
"typedoc-json-parser": "^8.1.2",
"typescript": "^5.1.3",
"vitest": "^0.31.4"
"vitest": "^0.32.0"
}
}
4 changes: 2 additions & 2 deletions packages/eslint-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,9 @@
},
"devDependencies": {
"@favware/cliff-jumper": "^2.0.1",
"@vitest/coverage-c8": "^0.31.4",
"@vitest/coverage-v8": "^0.32.0",
"tsup": "^6.7.0",
"typedoc-json-parser": "^8.1.2",
"vitest": "^0.31.4"
"vitest": "^0.32.0"
}
}
4 changes: 2 additions & 2 deletions packages/eslint-plugin-result/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,10 @@
},
"devDependencies": {
"@favware/cliff-jumper": "^2.0.1",
"@vitest/coverage-c8": "^0.31.4",
"@vitest/coverage-v8": "^0.32.0",
"tsup": "^6.7.0",
"typedoc-json-parser": "^8.1.2",
"vitest": "^0.31.4"
"vitest": "^0.32.0"
},
"dependencies": {
"@sapphire/result": "workspace:^",
Expand Down
6 changes: 3 additions & 3 deletions packages/event-iterator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,11 @@
},
"devDependencies": {
"@favware/cliff-jumper": "^2.0.1",
"@vitest/coverage-c8": "^0.31.4",
"@vitest/coverage-v8": "^0.32.0",
"tsup": "^6.7.0",
"typedoc": "^0.24.7",
"typedoc": "^0.24.8",
"typedoc-json-parser": "^8.1.2",
"typescript": "^5.1.3",
"vitest": "^0.31.4"
"vitest": "^0.32.0"
}
}
6 changes: 3 additions & 3 deletions packages/fetch/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,11 @@
},
"devDependencies": {
"@favware/cliff-jumper": "^2.0.1",
"@vitest/coverage-c8": "^0.31.4",
"@vitest/coverage-v8": "^0.32.0",
"tsup": "^6.7.0",
"typedoc": "^0.24.7",
"typedoc": "^0.24.8",
"typedoc-json-parser": "^8.1.2",
"typescript": "^5.1.3",
"vitest": "^0.31.4"
"vitest": "^0.32.0"
}
}
6 changes: 3 additions & 3 deletions packages/lexure/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,11 @@
},
"devDependencies": {
"@favware/cliff-jumper": "^2.0.1",
"@vitest/coverage-c8": "^0.31.4",
"@vitest/coverage-v8": "^0.32.0",
"tsup": "^6.7.0",
"typedoc": "^0.24.7",
"typedoc": "^0.24.8",
"typedoc-json-parser": "^8.1.2",
"typescript": "^5.1.3",
"vitest": "^0.31.4"
"vitest": "^0.32.0"
}
}
6 changes: 3 additions & 3 deletions packages/node-utilities/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,11 @@
},
"devDependencies": {
"@favware/cliff-jumper": "^2.0.1",
"@vitest/coverage-c8": "^0.31.4",
"@vitest/coverage-v8": "^0.32.0",
"tsup": "^6.7.0",
"typedoc": "^0.24.7",
"typedoc": "^0.24.8",
"typedoc-json-parser": "^8.1.2",
"typescript": "^5.1.3",
"vitest": "^0.31.4"
"vitest": "^0.32.0"
}
}
2 changes: 1 addition & 1 deletion packages/phisherman/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
"devDependencies": {
"@favware/cliff-jumper": "^2.0.1",
"tsup": "^6.7.0",
"typedoc": "^0.24.7",
"typedoc": "^0.24.8",
"typedoc-json-parser": "^8.1.2",
"typescript": "^5.1.3"
}
Expand Down
4 changes: 2 additions & 2 deletions packages/prettier-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@
},
"devDependencies": {
"@favware/cliff-jumper": "^2.0.1",
"@vitest/coverage-c8": "^0.31.4",
"@vitest/coverage-v8": "^0.32.0",
"tsup": "^6.7.0",
"typedoc-json-parser": "^8.1.2",
"vitest": "^0.31.4"
"vitest": "^0.32.0"
}
}
6 changes: 3 additions & 3 deletions packages/ratelimits/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,11 @@
},
"devDependencies": {
"@favware/cliff-jumper": "^2.0.1",
"@vitest/coverage-c8": "^0.31.4",
"@vitest/coverage-v8": "^0.32.0",
"tsup": "^6.7.0",
"typedoc": "^0.24.7",
"typedoc": "^0.24.8",
"typedoc-json-parser": "^8.1.2",
"typescript": "^5.1.3",
"vitest": "^0.31.4"
"vitest": "^0.32.0"
}
}
6 changes: 3 additions & 3 deletions packages/result/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,11 @@
},
"devDependencies": {
"@favware/cliff-jumper": "^2.0.1",
"@vitest/coverage-c8": "^0.31.4",
"@vitest/coverage-v8": "^0.32.0",
"tsup": "^6.7.0",
"typedoc": "^0.24.7",
"typedoc": "^0.24.8",
"typedoc-json-parser": "^8.1.2",
"typescript": "^5.1.3",
"vitest": "^0.31.4"
"vitest": "^0.32.0"
}
}
6 changes: 3 additions & 3 deletions packages/snowflake/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,11 @@
},
"devDependencies": {
"@favware/cliff-jumper": "^2.0.1",
"@vitest/coverage-c8": "^0.31.4",
"@vitest/coverage-v8": "^0.32.0",
"tsup": "^6.7.0",
"typedoc": "^0.24.7",
"typedoc": "^0.24.8",
"typedoc-json-parser": "^8.1.2",
"typescript": "^5.1.3",
"vitest": "^0.31.4"
"vitest": "^0.32.0"
}
}
6 changes: 3 additions & 3 deletions packages/stopwatch/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,12 +59,12 @@
"devDependencies": {
"@favware/cliff-jumper": "^2.0.1",
"@types/jsdom": "^21.1.1",
"@vitest/coverage-c8": "^0.31.4",
"@vitest/coverage-v8": "^0.32.0",
"jsdom": "^22.1.0",
"tsup": "^6.7.0",
"typedoc": "^0.24.7",
"typedoc": "^0.24.8",
"typedoc-json-parser": "^8.1.2",
"typescript": "^5.1.3",
"vitest": "^0.31.4"
"vitest": "^0.32.0"
}
}
2 changes: 1 addition & 1 deletion packages/time-utilities/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"devDependencies": {
"@favware/cliff-jumper": "^2.0.1",
"tsup": "^6.7.0",
"typedoc": "^0.24.7",
"typedoc": "^0.24.8",
"typedoc-json-parser": "^8.1.2",
"typescript": "^5.1.3"
}
Expand Down
6 changes: 3 additions & 3 deletions packages/timer-manager/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,11 @@
},
"devDependencies": {
"@favware/cliff-jumper": "^2.0.1",
"@vitest/coverage-c8": "^0.31.4",
"@vitest/coverage-v8": "^0.32.0",
"tsup": "^6.7.0",
"typedoc": "^0.24.7",
"typedoc": "^0.24.8",
"typedoc-json-parser": "^8.1.2",
"typescript": "^5.1.3",
"vitest": "^0.31.4"
"vitest": "^0.32.0"
}
}
6 changes: 3 additions & 3 deletions packages/timestamp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,11 @@
},
"devDependencies": {
"@favware/cliff-jumper": "^2.0.1",
"@vitest/coverage-c8": "^0.31.4",
"@vitest/coverage-v8": "^0.32.0",
"tsup": "^6.7.0",
"typedoc": "^0.24.7",
"typedoc": "^0.24.8",
"typedoc-json-parser": "^8.1.2",
"typescript": "^5.1.3",
"vitest": "^0.31.4"
"vitest": "^0.32.0"
}
}
4 changes: 2 additions & 2 deletions packages/ts-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@
"@favware/cliff-jumper": "^2.0.1",
"@sapphire/eslint-config": "workspace:^",
"@sapphire/eslint-plugin-result": "workspace:^",
"@vitest/coverage-c8": "^0.31.4",
"@vitest/coverage-v8": "^0.32.0",
"typedoc-json-parser": "^8.1.2",
"vitest": "^0.31.4"
"vitest": "^0.32.0"
}
}
6 changes: 3 additions & 3 deletions packages/utilities/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -338,12 +338,12 @@
},
"devDependencies": {
"@favware/cliff-jumper": "^2.0.1",
"@vitest/coverage-c8": "^0.31.4",
"@vitest/coverage-v8": "^0.32.0",
"esbuild-plugin-file-path-extensions": "^1.0.0",
"tsup": "^6.7.0",
"typedoc": "^0.24.7",
"typedoc": "^0.24.8",
"typedoc-json-parser": "^8.1.2",
"typescript": "^5.1.3",
"vitest": "^0.31.4"
"vitest": "^0.32.0"
}
}
2 changes: 1 addition & 1 deletion scripts/vitest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export const createVitestConfig = (options: UserConfig = {}) =>
globals: true,
coverage: {
...options.test?.coverage,
provider: 'c8',
provider: 'v8',
enabled: true,
reporter: ['text', 'lcov', 'cobertura'],
exclude: [
Expand Down
Loading

0 comments on commit a4bc6e4

Please sign in to comment.