Skip to content

Commit c66c9dc

Browse files
committed
Fix linter error
1 parent 5cdef36 commit c66c9dc

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

test/seam/connect/wait-for-action-attempt.test.ts

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,15 @@ test('waitForActionAttempt: waits for pending action attempt', async (t) => {
2626
status: 'pending',
2727
})
2828

29-
setTimeout(() => {
30-
void seam.client.post('/_fake/update_action_attempt', {
31-
action_attempt_id: actionAttempt.action_attempt_id,
32-
status: 'success',
33-
})
29+
setTimeout(async () => {
30+
try {
31+
await seam.client.post('/_fake/update_action_attempt', {
32+
action_attempt_id: actionAttempt.action_attempt_id,
33+
status: 'success',
34+
})
35+
} catch (err) {
36+
t.log(err)
37+
}
3438
}, 1000)
3539

3640
const { status } = await seam.actionAttempts.get(

0 commit comments

Comments
 (0)