summaryrefslogtreecommitdiff
path: root/tests/specs
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2024-10-24 15:48:48 -0400
committerGitHub <noreply@github.com>2024-10-24 19:48:48 +0000
commiteedf243b5ea98d22649bb0445444719a2fc12c59 (patch)
tree8f31d76e6223c195afb848f42d1ec7b9115bc7e1 /tests/specs
parentea641897c92e3975dd102b31c1419720df358d12 (diff)
perf(compile): pass module source data from binary directly to v8 (#26494)
This changes denort to pass a static reference of the moude source bytes found in the binary to v8 instead of copying it.
Diffstat (limited to 'tests/specs')
-rw-r--r--tests/specs/compile/byonm_main_sub_dir/deno.json2
-rw-r--r--tests/specs/compile/detect_cjs/output.out3
2 files changed, 3 insertions, 2 deletions
diff --git a/tests/specs/compile/byonm_main_sub_dir/deno.json b/tests/specs/compile/byonm_main_sub_dir/deno.json
index 6134d86d1..fde86a1ef 100644
--- a/tests/specs/compile/byonm_main_sub_dir/deno.json
+++ b/tests/specs/compile/byonm_main_sub_dir/deno.json
@@ -1,3 +1,3 @@
{
- "unstable": ["byonm"]
+ "nodeModulesDir": "manual"
}
diff --git a/tests/specs/compile/detect_cjs/output.out b/tests/specs/compile/detect_cjs/output.out
index b53c44369..e1c27b8dc 100644
--- a/tests/specs/compile/detect_cjs/output.out
+++ b/tests/specs/compile/detect_cjs/output.out
@@ -1 +1,2 @@
-error: Module not found: file:///[WILDLINE]/add.js
+error: Uncaught SyntaxError: The requested module './add.js' does not provide an export named 'add'
+ at <anonymous> (file:///[WILDLINE])