From 393a3fbd8139f55ca1fba73f04aae6333621b40b Mon Sep 17 00:00:00 2001 From: Chris Duncan Date: Thu, 3 Jul 2025 16:58:55 -0700 Subject: [PATCH] Ignore JS dotenv file and import it to enable envars in the browser. --- .gitignore | 1 + test/test.refresh-accounts.mjs | 1 + 2 files changed, 2 insertions(+) diff --git a/.gitignore b/.gitignore index eb95a92..85b739b 100644 --- a/.gitignore +++ b/.gitignore @@ -60,6 +60,7 @@ typings/ # dotenv environment variables file .env +env.* # next.js build output .next diff --git a/test/test.refresh-accounts.mjs b/test/test.refresh-accounts.mjs index adbcb59..14e08f7 100644 --- a/test/test.refresh-accounts.mjs +++ b/test/test.refresh-accounts.mjs @@ -3,6 +3,7 @@ 'use strict' +import { env } from '../env.mjs' import { assert, suite, test } from './GLOBALS.mjs' import { NANO_TEST_VECTORS } from './VECTORS.js' import { Account, Bip44Wallet, Rpc } from '../dist/main.min.js' -- 2.47.3