Skip to content

Commit

Permalink
@tus/server: make test less flaky
Browse files Browse the repository at this point in the history
  • Loading branch information
Murderlon committed Sep 3, 2024
1 parent a0f2a2d commit e126301
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/server/test/Server.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ describe('Server', () => {
.set('Upload-Offset', '0')
.set('Content-Type', 'application/offset+octet-stream')
.end((err) => {
assert.equal(received, 4)
assert.ok(received >= 4, 'should have received 4 or more events')
done(err)
})
})
Expand Down

0 comments on commit e126301

Please sign in to comment.