fmt(js): npm run fix on merge (#106881)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
ae43fd6df6
commit
47104b9f17
@@ -55,9 +55,11 @@ describe('useBackgroundSync profile-scoped session refresh', () => {
|
||||
it('coalesces change ticks while the live status request is pending', async () => {
|
||||
$changeEventsAvailable.set(true)
|
||||
let release!: (value: { sessions: [] }) => void
|
||||
|
||||
const pending = new Promise<{ sessions: [] }>(resolve => {
|
||||
release = resolve
|
||||
})
|
||||
|
||||
const request = vi.fn(() => pending)
|
||||
render('default', 'local', async () => undefined, request)
|
||||
await act(async () => undefined)
|
||||
|
||||
Reference in New Issue
Block a user