summaryrefslogtreecommitdiff
path: root/cli/tests/testdata/dynamic_import
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tests/testdata/dynamic_import')
-rw-r--r--cli/tests/testdata/dynamic_import/permissions_blob_local.ts.out4
-rw-r--r--cli/tests/testdata/dynamic_import/permissions_blob_remote.ts.out2
-rw-r--r--cli/tests/testdata/dynamic_import/permissions_data_local.ts.out2
-rw-r--r--cli/tests/testdata/dynamic_import/permissions_data_remote.ts.out2
-rw-r--r--cli/tests/testdata/dynamic_import/permissions_remote_remote.ts.out2
5 files changed, 6 insertions, 6 deletions
diff --git a/cli/tests/testdata/dynamic_import/permissions_blob_local.ts.out b/cli/tests/testdata/dynamic_import/permissions_blob_local.ts.out
index 6dfa8e527..b7b246ba2 100644
--- a/cli/tests/testdata/dynamic_import/permissions_blob_local.ts.out
+++ b/cli/tests/testdata/dynamic_import/permissions_blob_local.ts.out
@@ -1,5 +1,5 @@
error: Uncaught (in promise) TypeError: Requires read access to "[WILDCARD]local_file.ts", run again with the --allow-read flag
- at blob:null/[WILDCARD]:1:0
+ at blob:null/[WILDCARD]:1:8
await import(URL.createObjectURL(blob));
^
- at async file:///[WILDCARD]/dynamic_import/permissions_blob_local.ts:6:1
+ at async file://[WILDCARD]/permissions_blob_local.ts:6:1
diff --git a/cli/tests/testdata/dynamic_import/permissions_blob_remote.ts.out b/cli/tests/testdata/dynamic_import/permissions_blob_remote.ts.out
index 60d71ed6d..a00c02d72 100644
--- a/cli/tests/testdata/dynamic_import/permissions_blob_remote.ts.out
+++ b/cli/tests/testdata/dynamic_import/permissions_blob_remote.ts.out
@@ -1,5 +1,5 @@
error: Uncaught (in promise) TypeError: Requires net access to "example.com", run again with the --allow-net flag
- at blob:null/[WILDCARD]:1:0
+ at blob:null/[WILDCARD]:1:8
await import(URL.createObjectURL(blob));
^
at async file:///[WILDCARD]/dynamic_import/permissions_blob_remote.ts:4:1
diff --git a/cli/tests/testdata/dynamic_import/permissions_data_local.ts.out b/cli/tests/testdata/dynamic_import/permissions_data_local.ts.out
index c9fcb0a17..98c8a7310 100644
--- a/cli/tests/testdata/dynamic_import/permissions_data_local.ts.out
+++ b/cli/tests/testdata/dynamic_import/permissions_data_local.ts.out
@@ -1,5 +1,5 @@
error: Uncaught (in promise) TypeError: Requires read access to "[WILDCARD]local_file.ts", run again with the --allow-read flag
- at data:application/javascript;base64,[WILDCARD]:1:0
+ at data:application/javascript;base64,[WILDCARD]:1:8
await import(`data:application/javascript;base64,${btoa(code)}`);
^
at async file:///[WILDCARD]/dynamic_import/permissions_data_local.ts:5:1
diff --git a/cli/tests/testdata/dynamic_import/permissions_data_remote.ts.out b/cli/tests/testdata/dynamic_import/permissions_data_remote.ts.out
index 772f0b51e..cb2a7ccf7 100644
--- a/cli/tests/testdata/dynamic_import/permissions_data_remote.ts.out
+++ b/cli/tests/testdata/dynamic_import/permissions_data_remote.ts.out
@@ -1,5 +1,5 @@
error: Uncaught (in promise) TypeError: Requires net access to "example.com", run again with the --allow-net flag
- at data:application/javascript;base64,aW1wb3J0ICJodHRwczovL2V4YW1wbGUuY29tL3NvbWUvZmlsZS50cyI7:1:0
+ at data:application/javascript;base64,aW1wb3J0ICJodHRwczovL2V4YW1wbGUuY29tL3NvbWUvZmlsZS50cyI7:1:8
await import(`data:application/javascript;base64,${btoa(code)}`);
^
at async file:///[WILDCARD]/dynamic_import/permissions_data_remote.ts:3:1
diff --git a/cli/tests/testdata/dynamic_import/permissions_remote_remote.ts.out b/cli/tests/testdata/dynamic_import/permissions_remote_remote.ts.out
index cd7f58bb9..bd88dd4d9 100644
--- a/cli/tests/testdata/dynamic_import/permissions_remote_remote.ts.out
+++ b/cli/tests/testdata/dynamic_import/permissions_remote_remote.ts.out
@@ -1,5 +1,5 @@
error: Uncaught (in promise) TypeError: Requires net access to "example.com", run again with the --allow-net flag
- at http://localhost:4545/dynamic_import/static_remote.ts:2:0
+ at http://localhost:4545/dynamic_import/static_remote.ts:2:8
await import(
^
at async file:///[WILDCARD]/dynamic_import/permissions_remote_remote.ts:1:1