Skip to content

Commit

Permalink
fixed mainwindow test
Browse files Browse the repository at this point in the history
  • Loading branch information
IDCs committed Jul 25, 2024
1 parent d2d953f commit fbe2e7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion __tests__/MainWindow.test.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ function renderMainWindow() {
return input;
}

const api = { events: { on: () => undefined } };
const api = { events: { on: () => undefined }, getState: () => ({}) };

return shallow(<MainWindow objects={[]} t={ dummyT } api={api}/>);
}
Expand Down

0 comments on commit fbe2e7a

Please sign in to comment.