-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(BSR) refactor(tests): replace last spyon FF
- Loading branch information
1 parent
614e12a
commit 4ce6217
Showing
41 changed files
with
197 additions
and
180 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,6 @@ import React from 'react' | |
import { EmailValidationRemainingResendsResponse } from 'api/gen' | ||
import { SignupConfirmationEmailSentPage } from 'features/auth/pages/signup/SignupConfirmationEmailSent/SignupConfirmationEmailSentPage' | ||
import { RootStackParamList } from 'features/navigation/RootNavigator/types' | ||
import * as useFeatureFlagAPI from 'libs/firebase/firestore/featureFlags/useFeatureFlag' | ||
import { mockServer } from 'tests/mswServer' | ||
import { reactQueryProviderHOC } from 'tests/reactQueryProviderHOC' | ||
import { render, screen } from 'tests/utils' | ||
|
@@ -13,8 +12,6 @@ const navigationProps = { | |
route: { params: { email: '[email protected]' } }, | ||
} as StackScreenProps<RootStackParamList, 'SignupConfirmationEmailSent'> | ||
|
||
jest.spyOn(useFeatureFlagAPI, 'useFeatureFlag').mockReturnValue(true) | ||
|
||
jest.mock('libs/firebase/analytics/analytics') | ||
|
||
jest.mock('react-native/Libraries/Animated/createAnimatedComponent', () => { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,6 @@ import React from 'react' | |
|
||
import { EmailValidationRemainingResendsResponse } from 'api/gen' | ||
import { RootStackParamList } from 'features/navigation/RootNavigator/types' | ||
import * as useFeatureFlagAPI from 'libs/firebase/firestore/featureFlags/useFeatureFlag' | ||
import { mockServer } from 'tests/mswServer' | ||
import { reactQueryProviderHOC } from 'tests/reactQueryProviderHOC' | ||
import { act, checkAccessibilityFor, render } from 'tests/utils/web' | ||
|
@@ -14,8 +13,6 @@ const navigationProps = { | |
route: { params: { email: '[email protected]' } }, | ||
} as StackScreenProps<RootStackParamList, 'SignupConfirmationEmailSent'> | ||
|
||
jest.spyOn(useFeatureFlagAPI, 'useFeatureFlag').mockReturnValue(true) | ||
|
||
jest.mock('libs/firebase/analytics/analytics') | ||
jest.mock('libs/firebase/remoteConfig/remoteConfig.services') | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.