Skip to content

Commit

Permalink
chore(tests): disaable mocked feature flag in ReportPage tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mkholjuraev committed Nov 14, 2023
1 parent 8b5c364 commit 37eea76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Components/SmartComponents/Reports/ReportsPage.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { useSelector } from 'react-redux';
jest.mock('../../../Helpers/Hooks', () => ({
...jest.requireActual('../../../Helpers/Hooks'),
useRbac: () => [[true, true, true], false],
useFeatureFlag: () => true
useFeatureFlag: () => false
}));

jest.mock("react-redux", () => ({
Expand Down

0 comments on commit 37eea76

Please sign in to comment.