From fb88e5a199dfbce5c53a74a0cc3512878ef3cfc1 Mon Sep 17 00:00:00 2001 From: BenRey Date: Mon, 12 Aug 2024 21:06:32 +0200 Subject: [PATCH] Remove fromYaml from test --- test/unit/account.spec.ts | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/test/unit/account.spec.ts b/test/unit/account.spec.ts index 0c157e51..37b99179 100644 --- a/test/unit/account.spec.ts +++ b/test/unit/account.spec.ts @@ -127,20 +127,20 @@ describe('Account tests', () => { expect(account.address.isEOA).toBe(true) }) - test('Account - from yaml file', async () => { - const walletPath = path.join(__dirname, 'wallet_test_version_1.yaml') + // test('Account - from yaml file', async () => { + // const walletPath = path.join(__dirname, 'wallet_test_version_1.yaml') - const account = await Account.fromYaml(walletPath, 'unsecurePassword') - expect(account.address.toString()).toBe( - 'AU126tkwrhXn9gEG5JPtrNy8NNLbVMwywokgLKshSYyzP8qusqXZL' - ) - expect(account.publicKey.toString()).toBe( - 'P126AtzfcSJwdi6xsAmXbzXhhwVhS9d1hRjFNT4PfrDogt3nAihj' - ) - expect(account.version).toBe(Version.V1) - expect(account.address.version).toBe(Version.V0) - expect(account.address.isEOA).toBe(true) - }) + // const account = await Account.fromYaml(walletPath, 'unsecurePassword') + // expect(account.address.toString()).toBe( + // 'AU126tkwrhXn9gEG5JPtrNy8NNLbVMwywokgLKshSYyzP8qusqXZL' + // ) + // expect(account.publicKey.toString()).toBe( + // 'P126AtzfcSJwdi6xsAmXbzXhhwVhS9d1hRjFNT4PfrDogt3nAihj' + // ) + // expect(account.version).toBe(Version.V1) + // expect(account.address.version).toBe(Version.V0) + // expect(account.address.isEOA).toBe(true) + // }) test('Account - from environment variables', async () => { process.env.PRIVATE_KEY =