From: Chris Duncan Date: Sun, 17 Nov 2024 07:19:53 +0000 (-0800) Subject: Fix test import references. X-Git-Tag: v0.0.20~16 X-Git-Url: https://zoso.dev/?a=commitdiff_plain;h=fefa7c9abf239b8e66e1e57281c924483394cae5;p=libnemo.git Fix test import references. --- 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'