Skip to content

Commit b515e5d

Browse files
committed
fix: test act
Signed-off-by: Adam Setch <adam.setch@outlook.com>
1 parent d619824 commit b515e5d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/renderer/context/App.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ describe('renderer/context/App.tsx', () => {
127127
const getContext = renderWithContext();
128128
fetchNotificationsMock.mockReset();
129129

130-
act(() => {
130+
await act(async () => {
131131
getContext().fetchNotifications();
132132
});
133133

0 commit comments

Comments
 (0)