From 3e81e682de8626102984df2ac594480751618892 Mon Sep 17 00:00:00 2001 From: matstyler Date: Sun, 24 Nov 2024 09:22:41 +0100 Subject: [PATCH] fix: unit tests --- packages/cache/test/defineWalletSetup.test.ts | 4 ++-- packages/cache/test/utils/getWalletSetupFuncHash.test.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/cache/test/defineWalletSetup.test.ts b/packages/cache/test/defineWalletSetup.test.ts index c5ab033f0..190c7a68a 100644 --- a/packages/cache/test/defineWalletSetup.test.ts +++ b/packages/cache/test/defineWalletSetup.test.ts @@ -1,8 +1,8 @@ import { describe, expect, it } from 'vitest' -import { defineWalletSetup } from '../src/defineWalletSetup' +import { defineWalletSetup } from '../src' const PASSWORD = 'Quack Quack! 🦆' -const EXPECTED_HASH = 'f9c5ea5bb2c3aac96ff4' +const EXPECTED_HASH = '46b9dd2b0ba88d13233b' const testWalletSetupFunction = async (): Promise => { const result = 1 + 2 diff --git a/packages/cache/test/utils/getWalletSetupFuncHash.test.ts b/packages/cache/test/utils/getWalletSetupFuncHash.test.ts index 7c2e9ecdf..3d264e07a 100644 --- a/packages/cache/test/utils/getWalletSetupFuncHash.test.ts +++ b/packages/cache/test/utils/getWalletSetupFuncHash.test.ts @@ -1,7 +1,7 @@ import { describe, expect, it } from 'vitest' import { WALLET_SETUP_FUNC_HASH_LENGTH, getWalletSetupFuncHash } from '../../src/utils/getWalletSetupFuncHash' -const EXPECTED_HASH = 'b940c886be3c1a041ddd' +const EXPECTED_HASH = '46b9dd2b0ba88d13233b' const testFunction = async (name: string) => { return `Hello ${name}!`