Commit 4c08202
committed
fix(deps): align @vitest/coverage-v8 with vitest major
fix `pnpm test:coverage`
```
TypeError: this._initialize is not a function
❯ V8CoverageProvider.initialize node_modules/.pnpm/@vitest+coverage-v8@2.1.8_vitest@1.6.0_@types+node@20.4.2_happy-dom@10.3.2_jsdom@24.1.3_/node_modules/@vitest/coverage-v8/dist/provider.js:2554:10
❯ Vitest.initCoverageProvider node_modules/.pnpm/vitest@1.6.0_@types+node@20.4.2_happy-dom@10.3.2_jsdom@24.1.3/node_modules/vitest/dist/vendor/cli-api.E07AF1Yq.js:11061:35
❯ Vitest.start node_modules/.pnpm/vitest@1.6.0_@types+node@20.4.2_happy-dom@10.3.2_jsdom@24.1.3/node_modules/vitest/dist/vendor/cli-api.E07AF1Yq.js:11073:7
❯ startVitest node_modules/.pnpm/vitest@1.6.0_@types+node@20.4.2_happy-dom@10.3.2_jsdom@24.1.3/node_modules/vitest/dist/vendor/cli-api.E07AF1Yq.js:18345:7
❯ start node_modules/.pnpm/vitest@1.6.0_@types+node@20.4.2_happy-dom@10.3.2_jsdom@24.1.3/node_modules/vitest/dist/vendor/cac.EdDItJD-.js:1415:17
❯ CAC.run node_modules/.pnpm/vitest@1.6.0_@types+node@20.4.2_happy-dom@10.3.2_jsdom@24.1.3/node_modules/vitest/dist/vendor/cac.EdDItJD-.js:1395:3
```1 parent 806504f commit 4c08202
2 files changed
Lines changed: 121 additions & 196 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
99 | | - | |
| 99 | + | |
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
| |||
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
| 109 | + | |
109 | 110 | | |
110 | | - | |
111 | | - | |
| 111 | + | |
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
| |||
0 commit comments