From fefa7c9abf239b8e66e1e57281c924483394cae5 Mon Sep 17 00:00:00 2001 From: Chris Duncan Date: Sat, 16 Nov 2024 23:19:53 -0800 Subject: [PATCH] Fix test import references. --- test/create-wallet.test.mjs | 2 +- test/manage-rolodex.mjs | 2 +- test/refresh-accounts.test.mjs | 2 +- test/sign-blocks.test.mjs | 2 +- test/tools.test.mjs | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/test/create-wallet.test.mjs b/test/create-wallet.test.mjs index 5797a1b..4e63dc3 100644 --- a/test/create-wallet.test.mjs +++ b/test/create-wallet.test.mjs @@ -38,7 +38,7 @@ describe('creating a new wallet', async () => { } }) - it('fail when using new', () => { + it('fail when using new', async () => { assert.throws(() => new Bip44Wallet()) assert.throws(() => new Blake2bWallet()) assert.throws(() => new LedgerWallet()) diff --git a/test/manage-rolodex.mjs b/test/manage-rolodex.mjs index 8f666a0..0d179d7 100644 --- a/test/manage-rolodex.mjs +++ b/test/manage-rolodex.mjs @@ -3,7 +3,7 @@ 'use strict' -import './GLOBALS.js' +import './GLOBALS.mjs' import { describe, it } from 'node:test' import { strict as assert } from 'assert' import { Rolodex, Tools } from '../dist/main.js' diff --git a/test/refresh-accounts.test.mjs b/test/refresh-accounts.test.mjs index fe26e7b..9dc71cc 100644 --- a/test/refresh-accounts.test.mjs +++ b/test/refresh-accounts.test.mjs @@ -3,7 +3,7 @@ 'use strict' -import './GLOBALS.js' +import './GLOBALS.mjs' import { describe, it } from 'node:test' import { strict as assert } from 'assert' import { NANO_TEST_VECTORS } from './TEST_VECTORS.js' diff --git a/test/sign-blocks.test.mjs b/test/sign-blocks.test.mjs index 1df9b21..06b1790 100644 --- a/test/sign-blocks.test.mjs +++ b/test/sign-blocks.test.mjs @@ -3,7 +3,7 @@ 'use strict' -import './GLOBALS.js' +import './GLOBALS.mjs' import { describe, it } from 'node:test' import { strict as assert } from 'assert' import { NANO_TEST_VECTORS } from './TEST_VECTORS.js' diff --git a/test/tools.test.mjs b/test/tools.test.mjs index 48ba1d5..4d98f9c 100644 --- a/test/tools.test.mjs +++ b/test/tools.test.mjs @@ -3,7 +3,7 @@ 'use strict' -import './GLOBALS.js' +import './GLOBALS.mjs' import { describe, it } from 'node:test' import { strict as assert } from 'assert' import { RAW_MAX, NANO_TEST_VECTORS } from './TEST_VECTORS.js' -- 2.34.1