summaryrefslogtreecommitdiff
path: root/std/node/module_test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'std/node/module_test.ts')
-rw-r--r--std/node/module_test.ts8
1 files changed, 6 insertions, 2 deletions
diff --git a/std/node/module_test.ts b/std/node/module_test.ts
index 234e9f0f4..b1a22c0f6 100644
--- a/std/node/module_test.ts
+++ b/std/node/module_test.ts
@@ -1,7 +1,11 @@
/* eslint-disable @typescript-eslint/no-var-requires */
const { test } = Deno;
-import { assertEquals, assert, assertStrContains } from "../testing/asserts.ts";
+import {
+ assertEquals,
+ assert,
+ assertStringContains,
+} from "../testing/asserts.ts";
import { createRequire } from "./module.ts";
const require = createRequire(import.meta.url);
@@ -54,6 +58,6 @@ test("requireStack", function () {
try {
hello();
} catch (e) {
- assertStrContains(e.stack, "/tests/cjs/cjs_throw.js");
+ assertStringContains(e.stack, "/tests/cjs/cjs_throw.js");
}
});