From 3dbf1e31201e8843b08c62c0047f93f2fba840d0 Mon Sep 17 00:00:00 2001 From: Fuxing Loh Date: Tue, 24 Jan 2023 15:48:10 +0800 Subject: [PATCH] chore(packages/jellyfish-wallet-encrypted): half test delta of hardTime and easyTime to reduce test flakiness --- packages/jellyfish-wallet-encrypted/__tests__/scrypt.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/jellyfish-wallet-encrypted/__tests__/scrypt.test.ts b/packages/jellyfish-wallet-encrypted/__tests__/scrypt.test.ts index 6663b90034..ffc53d9902 100644 --- a/packages/jellyfish-wallet-encrypted/__tests__/scrypt.test.ts +++ b/packages/jellyfish-wallet-encrypted/__tests__/scrypt.test.ts @@ -32,5 +32,5 @@ it('configurable params (easy-hard)', async () => { // significantly slower // technically it is 8x harder, but they can be processed in parallel - expect(hardTime).toBeGreaterThan(easyTime * 2) + expect(hardTime).toBeGreaterThan(easyTime) })