Skip to content

Commit

Permalink
Format skipPollOnFocusLost test
Browse files Browse the repository at this point in the history
  • Loading branch information
riqts committed Jan 24, 2024
1 parent 65a6ae3 commit 823c3b7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/toolkit/src/query/tests/polling.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,10 @@ describe('polling tests', () => {
const { requestId, queryCacheKey, ...subscription } =
storeRef.store.dispatch(
getPosts.initiate(1, {
subscriptionOptions: { pollingInterval: 10, skipPollOnFocusLost: false },
subscriptionOptions: {
pollingInterval: 10,
skipPollOnFocusLost: false,
},
subscribe: true,
})
)
Expand Down

0 comments on commit 823c3b7

Please sign in to comment.