Skip to content

Commit 159c080

Browse files
committed
Decrease lower bound on performance tests
1 parent adcb2b6 commit 159c080

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/performance.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ describe('Performance', () => {
4747
perfy.start('any')
4848
await engine.run()
4949
const result = perfy.end('any')
50-
expect(result.time).to.be.greaterThan(0.02)
50+
expect(result.time).to.be.greaterThan(0.001)
5151
expect(result.time).to.be.lessThan(0.5)
5252
})
5353

@@ -59,7 +59,7 @@ describe('Performance', () => {
5959
perfy.start('all')
6060
await engine.run()
6161
const result = perfy.end('all')
62-
expect(result.time).to.be.greaterThan(0.01) // assert lower value
62+
expect(result.time).to.be.greaterThan(0.001) // assert lower value
6363
expect(result.time).to.be.lessThan(0.5)
6464
})
6565
})

0 commit comments

Comments
 (0)