Skip to content

Commit 87c60aa

Browse files
committed
fix(test): resolve DiscordButton accessibility typecheck
1 parent a77e133 commit 87c60aa

1 file changed

Lines changed: 5 additions & 9 deletions

File tree

components/DiscordButton.accessibility.test.tsx

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,11 @@ import { describe, expect, it, vi } from 'vitest';
33

44
import { DiscordButton } from './DiscordButton';
55

6-
vi.mock(
7-
'gsap',
8-
() => ({
9-
default: {
10-
to: vi.fn(),
11-
},
12-
}),
13-
{ virtual: true }
14-
);
6+
vi.mock('gsap', () => ({
7+
default: {
8+
to: vi.fn(),
9+
},
10+
}));
1511

1612
vi.mock('framer-motion', () => ({
1713
motion: {

0 commit comments

Comments
 (0)