Skip to content

Commit c53a11b

Browse files
chore(deps): update dependency @vitest/coverage-v8 to v3 (#1457)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: MikuroXina <10331164+MikuroXina@users.noreply.github.com>
1 parent dde5922 commit c53a11b

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

bun.lockb

14.3 KB
Binary file not shown.

packages/bot/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,11 @@
3434
"@codedependant/semantic-release-docker": "^5.0.0",
3535
"@types/deep-equal": "^1.0.1",
3636
"@types/yargs": "^17.0.22",
37-
"@vitest/coverage-v8": "^1.0.0",
37+
"@vitest/coverage-v8": "^3.0.0",
3838
"esbuild": "^0.25.0",
3939
"make-dir-cli": "^4.0.0",
4040
"tsx": "^4.7.0",
4141
"typescript": "5.8.3",
42-
"vitest": "^1.0.0"
42+
"vitest": "^3.0.0"
4343
}
4444
}

packages/bot/src/service/command/guild-info.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ describe('GuildInfo', () => {
128128
});
129129

130130
it('Fail GuildInfo', async () => {
131-
const fetchStats = vi.spyOn(repo, 'fetchGuildStats');
131+
const fetchStats = vi.spyOn(repo, 'fetchGuildStats').mockImplementation(() => Promise.resolve(null));
132132
const fn = vi.fn();
133133

134134
await guildInfo.on(

0 commit comments

Comments
 (0)