Skip to content

Commit 6f14a9b

Browse files
Add eslint-disable comment for __esModule naming convention in test mocks
1 parent 7e184c0 commit 6f14a9b

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

tests/unit/hooks/useRestoreWorkspacesTabOnNavigate.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ jest.mock('@libs/Navigation/Navigation', () => ({
4343
}));
4444

4545
jest.mock('@libs/Navigation/helpers/getPathFromState', () => ({
46+
// eslint-disable-next-line @typescript-eslint/naming-convention
4647
__esModule: true,
4748
default: jest.fn(),
4849
}));

tests/unit/navigateToWorkspacesPageTest.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ jest.mock('@libs/Navigation/AppNavigator/createSplitNavigator/usePreserveNavigat
1515
jest.mock('@libs/PolicyUtils');
1616
jest.mock('@libs/interceptAnonymousUser');
1717
jest.mock('@libs/Navigation/helpers/getPathFromState', () => ({
18+
// eslint-disable-next-line @typescript-eslint/naming-convention
1819
__esModule: true,
1920
default: jest.fn(),
2021
}));

0 commit comments

Comments
 (0)