From d064f5ba5cc2fa592c0e7566560b05e9c4ed65dc Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Sat, 24 Feb 2024 15:47:19 -0300 Subject: Normalize how modules import and name each other Also add a `defaultInterceptors` variable in `src/hero.mjs` to avoid needing to redefine it in every application. --- tests/js/utils.mjs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/js/utils.mjs') diff --git a/tests/js/utils.mjs b/tests/js/utils.mjs index e4f21d0..e2475b0 100644 --- a/tests/js/utils.mjs +++ b/tests/js/utils.mjs @@ -1,6 +1,6 @@ import assert from "node:assert/strict"; -import { runTests } from "../runner.mjs"; +import * as runner from "../runner.mjs"; import { eq, keys, @@ -291,7 +291,7 @@ const test_promisify = t => { }; -await runTests([ +await runner.runTests([ test_eq, test_keys, test_difference, -- cgit v1.2.3