Skip to content

Commit

Permalink
Try to fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
leSamo committed Aug 4, 2023
1 parent 14fc188 commit 6799b47
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Components/SmartComponents/Reports/ReportsPage.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ jest.mock("react-redux", () => ({

jest.mock("../../../Helpers/APIHelper.js", () => ({
...jest.requireActual("../../../Helpers/APIHelper.js"),
getOperatingSystems: () => ({})
getOperatingSystems: () => ({}),
getCveListByAccount: () => new Promise(() => {}, () => {})
}));

const state = {
Expand Down

0 comments on commit 6799b47

Please sign in to comment.