Skip to content

Commit 9bc640c

Browse files
author
Nika Kolesnikova
committed
fix: update useAuth mock in SingleList test
1 parent 136fda5 commit 9bc640c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/SingleList.test.jsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ import { mockUser } from '../src/mocks/__fixtures__/auth';
1212

1313
vi.mock('../src/api', () => ({
1414
deleteList: vi.fn(),
15+
}));
16+
17+
vi.mock('../src/hooks', () => ({
1518
useAuth: () => ({
1619
user: { uid: mockUser.uid, email: mockUser.email },
1720
}),

0 commit comments

Comments
 (0)