Skip to content

Commit

Permalink
Stavilize another test
Browse files Browse the repository at this point in the history
  • Loading branch information
ai committed Aug 25, 2024
1 parent feb2efd commit cdf2b49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bind-backend-proxy/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,7 @@ it('notifies about actions and subscriptions', async () => {
let client = await app.connect('10', { headers: { lang: 'fr' } })
client.log.add({ type: 'A' })
client.log.add({ channel: 'a', type: 'logux/subscribe' })
await setTimeout(400)
await setTimeout(600)

expect(app.log.actions()).toEqual([

Check failure on line 476 in bind-backend-proxy/index.test.ts

View workflow job for this annotation

GitHub Actions / Node.js 18 Quick

bind-backend-proxy/index.test.ts > notifies about actions and subscriptions

AssertionError: expected [ { type: 'A' }, …(2) ] to deeply equal [ { type: 'A' }, …(5) ] - Expected + Received Array [ Object { "type": "A", }, Object { "channel": "a", "type": "logux/subscribe", }, Object { "id": "1 10:1:1 0", "type": "logux/processed", }, - Object { - "type": "a/load1", - }, - Object { - "type": "a/load2", - }, - Object { - "id": "2 10:1:1 0", - "type": "logux/processed", - }, ] ❯ bind-backend-proxy/index.test.ts:476:29
{ type: 'A' },
Expand Down

0 comments on commit cdf2b49

Please sign in to comment.