Skip to content

Commit a41e775

Browse files
committed
lint fix
1 parent 8faf9bb commit a41e775

File tree

2 files changed

+0
-11
lines changed

2 files changed

+0
-11
lines changed

ui/components/multichain/global-menu/global-menu.test.tsx

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ import {
99
} from '../../../helpers/constants/routes';
1010
import { isGatorPermissionsRevocationFeatureEnabled } from '../../../../shared/modules/environment';
1111
import { getBrowserName } from '../../../../shared/modules/browser-runtime.utils';
12-
import { useSidePanelEnabled } from '../../../hooks/useSidePanelEnabled';
1312
import {
1413
ENVIRONMENT_TYPE_POPUP,
1514
PLATFORM_FIREFOX,
@@ -58,10 +57,6 @@ jest.mock('../../../store/actions', () => ({
5857

5958
jest.mock('../../../../shared/modules/environment');
6059

61-
jest.mock('../../../hooks/useSidePanelEnabled', () => ({
62-
useSidePanelEnabled: jest.fn(() => false),
63-
}));
64-
6560
jest.mock('../../../../app/scripts/lib/util', () => ({
6661
...jest.requireActual('../../../../app/scripts/lib/util'),
6762
getEnvironmentType: jest.fn(),
@@ -127,7 +122,6 @@ describe('Global Menu', () => {
127122
);
128123
jest.mocked(getBrowserName).mockReturnValue(PLATFORM_FIREFOX);
129124
jest.mocked(getEnvironmentType).mockReturnValue(ENVIRONMENT_TYPE_POPUP);
130-
jest.mocked(useSidePanelEnabled).mockReturnValue(true);
131125

132126
// @ts-expect-error mocking platform
133127
global.platform = {

ui/pages/onboarding-flow/pin-extension/pin-extension.test.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,6 @@ jest.mock('react-router-dom-v5-compat', () => {
3939
};
4040
});
4141

42-
// Mock the useSidePanelEnabled hook to control sidepanel feature flag
43-
jest.mock('../../../hooks/useSidePanelEnabled', () => ({
44-
useSidePanelEnabled: jest.fn(() => false),
45-
}));
46-
4742
describe('Creation Successful Onboarding View', () => {
4843
afterEach(() => {
4944
jest.clearAllMocks();

0 commit comments

Comments
 (0)