summaryrefslogtreecommitdiff
path: root/tests/testdata/run/import_meta
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testdata/run/import_meta')
-rw-r--r--tests/testdata/run/import_meta/importmap.json3
-rw-r--r--tests/testdata/run/import_meta/main.ts2
2 files changed, 3 insertions, 2 deletions
diff --git a/tests/testdata/run/import_meta/importmap.json b/tests/testdata/run/import_meta/importmap.json
index 7d583dd81..834bf5e46 100644
--- a/tests/testdata/run/import_meta/importmap.json
+++ b/tests/testdata/run/import_meta/importmap.json
@@ -1,6 +1,7 @@
{
"imports": {
- "@std/": "../../../util/std/",
+ "@std/assert/throws": "../../../util/std/assert/throws.ts",
+ "@std/internal/styles": "../../../util/std/internal/styles.ts",
"bare": "https://example.com/",
"https://example.com/rewrite": "https://example.com/rewritten",
diff --git a/tests/testdata/run/import_meta/main.ts b/tests/testdata/run/import_meta/main.ts
index 6e4d5be98..d0425826e 100644
--- a/tests/testdata/run/import_meta/main.ts
+++ b/tests/testdata/run/import_meta/main.ts
@@ -1,4 +1,4 @@
-import { assertThrows } from "@std/assert/mod.ts";
+import { assertThrows } from "@std/assert/throws";
import "http://localhost:4545/run/import_meta/other.ts";
import "./other.ts";