Skip to content

Commit 905b6d4

Browse files
committed
Remove unnecessary eslint rule
1 parent a39652b commit 905b6d4

4 files changed

Lines changed: 0 additions & 4 deletions

File tree

__mocks__/@react-navigation/native/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ const useLinkTo = isJestEnv ? realReactNavigation.useLinkTo : () => null;
4545
const useScrollToTop = isJestEnv ? realReactNavigation.useScrollToTop : () => null;
4646
const useRoute = isJestEnv ? realReactNavigation.useRoute : () => ({params: {}});
4747
const useFocusEffect = isJestEnv ? realReactNavigation.useFocusEffect : (callback: () => void) => callback();
48-
// eslint-disable-next-line @typescript-eslint/naming-convention
4948
const usePreventRemove = isJestEnv ? jest.fn() : () => {};
5049

5150
export {

tests/perf-test/SearchRouter.perf-test.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ jest.mock('@react-navigation/native', () => {
5050
useFocusEffect: jest.fn(),
5151
useIsFocused: () => true,
5252
useRoute: () => jest.fn(),
53-
// eslint-disable-next-line @typescript-eslint/naming-convention
5453
usePreventRemove: () => jest.fn(),
5554
useNavigation: () => ({
5655
navigate: jest.fn(),

tests/ui/ReportDetailsPageTest.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ jest.mock('@react-navigation/native', () => {
2424
...actualNav,
2525
useIsFocused: jest.fn(),
2626
useRoute: jest.fn(),
27-
// eslint-disable-next-line @typescript-eslint/naming-convention
2827
usePreventRemove: jest.fn(),
2928
};
3029
});

tests/ui/components/IOURequestStepConfirmationPageTest.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ jest.mock('@react-navigation/native', () => ({
3636
useIsFocused: () => true,
3737
useNavigation: () => ({navigate: jest.fn(), addListener: jest.fn()}),
3838
useFocusEffect: jest.fn(),
39-
// eslint-disable-next-line @typescript-eslint/naming-convention
4039
usePreventRemove: jest.fn(),
4140
}));
4241

0 commit comments

Comments
 (0)