diff options
Diffstat (limited to 'server/sonar-docs/src/components/__tests__/Sidebar-test.tsx')
-rw-r--r-- | server/sonar-docs/src/components/__tests__/Sidebar-test.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-docs/src/components/__tests__/Sidebar-test.tsx b/server/sonar-docs/src/components/__tests__/Sidebar-test.tsx index 5e04132569c..0836da46d40 100644 --- a/server/sonar-docs/src/components/__tests__/Sidebar-test.tsx +++ b/server/sonar-docs/src/components/__tests__/Sidebar-test.tsx @@ -25,7 +25,7 @@ import Sidebar from '../Sidebar'; jest.mock('../navTreeUtils', () => { return { - ...require.requireActual('../navTreeUtils'), + ...jest.requireActual('../navTreeUtils'), getNavTree: jest.fn().mockReturnValue([ '/foo/', { |