Skip to content

Commit

Permalink
test(changes): increase delay to avoid CI build failing
Browse files Browse the repository at this point in the history
  • Loading branch information
vinz243 committed Apr 21, 2018
1 parent a7204cf commit ba1447b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion test/integration/changes.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,11 @@ describe('changes#subscribe', () => {

await Artist.create(factory, { name: 'foo' }).save()

await delay(10)
let i = 0

do {
await delay(250)
} while (i++ < 120 && subscriber.mock.calls.length === 0)

const { calls } = subscriber.mock

Expand Down

0 comments on commit ba1447b

Please sign in to comment.