summaryrefslogtreecommitdiff
path: root/tests/js/escape.mjs
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2024-02-24 15:47:19 -0300
committerEuAndreh <eu@euandre.org>2024-02-24 15:47:19 -0300
commitd064f5ba5cc2fa592c0e7566560b05e9c4ed65dc (patch)
treefdc89ddd55c375e9a4ac7021375bfbaf48d2c0e7 /tests/js/escape.mjs
parentsrc/hero.mjs: Add buildServer() (diff)
downloadpapod-d064f5ba5cc2fa592c0e7566560b05e9c4ed65dc.tar.gz
papod-d064f5ba5cc2fa592c0e7566560b05e9c4ed65dc.tar.xz
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.
Diffstat (limited to 'tests/js/escape.mjs')
-rw-r--r--tests/js/escape.mjs9
1 files changed, 6 insertions, 3 deletions
diff --git a/tests/js/escape.mjs b/tests/js/escape.mjs
index 2cad16a..8291391 100644
--- a/tests/js/escape.mjs
+++ b/tests/js/escape.mjs
@@ -1,6 +1,9 @@
import assert from "node:assert/strict";
-import { runTests } from "../runner.mjs";
-import { escape } from "../../src/escape.mjs";
+
+import * as runner from "../runner.mjs";
+import {
+ escape,
+} from "../../src/escape.mjs";
const test_escape = t => {
t.start("escape()");
@@ -57,6 +60,6 @@ const test_escape = t => {
};
-await runTests([
+await runner.runTests([
test_escape,
]);