Skip to content

Commit

Permalink
test: increase timeout in ElectronTypes watch test
Browse files Browse the repository at this point in the history
  • Loading branch information
dsanders11 authored Jan 25, 2024
1 parent f07c83b commit c0a7fdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/main/electron-types-spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ describe('ElectronTypes', () => {

const newTypes = saveTypesFile('some changed types');
expect(newTypes).not.toEqual(oldTypes);
await waitFor(() => mocked(ipcMainManager).send.mock.calls.length > 0);
await waitFor(() => mocked(ipcMainManager).send.mock.calls.length > 0, { timeout: 8000 });
expect(ipcMainManager.send).toHaveBeenCalledWith(
IpcEvents.ELECTRON_TYPES_CHANGED,
[newTypes, localVersion.version],
Expand Down

0 comments on commit c0a7fdf

Please sign in to comment.