Skip to content

Commit 8f789e9

Browse files
committed
test: fix breaking tests
1 parent eeab04f commit 8f789e9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/auth/mixins/with_auth_finder.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -286,10 +286,10 @@ test.group('withAuthFinder | verify', () => {
286286
const invalidPasswordTime = convertHrtime(process.hrtime.bigint() - startTime)
287287

288288
/**
289-
* Same timing within the range of 10 milliseconds is acceptable
289+
* Same timing within the range of 15 milliseconds is acceptable
290290
*/
291291
assert.isBelow(Math.abs(invalidPasswordTime.seconds - invalidEmailTime.seconds), 1)
292-
assert.isBelow(Math.abs(invalidPasswordTime.milliseconds - invalidEmailTime.milliseconds), 10)
292+
assert.isBelow(Math.abs(invalidPasswordTime.milliseconds - invalidEmailTime.milliseconds), 15)
293293
})
294294

295295
test('throw error when uid or password values are missing', async ({ assert }) => {

0 commit comments

Comments
 (0)