We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c617fd6 commit d6ec661Copy full SHA for d6ec661
jest/setupTests.ts
@@ -1,8 +1,10 @@
1
import '@testing-library/jest-native/extend-expect';
2
3
-jest.mock('@env', () => ({
4
- AUTH0_DOMAIN: 'test-auth0-domain.auth0.com',
5
- AUTH0_CLIENT_ID: 'test-auth0-client-id',
+jest.mock('config/auth0', () => ({
+ AUTH0_CONFIG: {
+ domain: 'test-auth0-domain.auth0.com',
6
+ clientId: 'test-auth0-client-id',
7
+ },
8
}));
9
10
jest.mock('react-native-mmkv-storage', () => {
0 commit comments