Skip to content

Commit 996180e

Browse files
test: update Auth0Provider tests to import from new Auth0 file location
1 parent 16f4792 commit 996180e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/hooks/__tests__/Auth0Provider.spec.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import {
88
} from '@testing-library/react';
99
import '@testing-library/jest-dom';
1010
import { Auth0Provider, useAuth0 } from '..';
11-
import Auth0 from '../../index';
11+
import Auth0 from '../../Auth0';
1212

1313
// Mock TurboModuleRegistry first
1414
jest.mock('react-native/Libraries/TurboModule/TurboModuleRegistry', () => ({
@@ -63,7 +63,7 @@ jest.mock('react-native', () => ({
6363
}));
6464

6565
// 1. Mock the top-level Auth0 facade
66-
jest.mock('../../index');
66+
jest.mock('../../Auth0');
6767
const MockAuth0 = Auth0 as jest.MockedClass<typeof Auth0>;
6868

6969
// Mock the Auth0User model's factory method

0 commit comments

Comments
 (0)