summaryrefslogtreecommitdiff
path: root/tests/specs/node/byonm_phantom_dep_res_failure/node_modules
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2024-07-23 20:22:24 -0400
committerGitHub <noreply@github.com>2024-07-24 00:22:24 +0000
commit52ababc4bf948904092cff54c2ab8b91f6b9b443 (patch)
tree77dc2fe4a9eb79ce893e1593822df4de1f564260 /tests/specs/node/byonm_phantom_dep_res_failure/node_modules
parent445e05a39d005eab6f7d2f1f67a7ae2d7c85b1b3 (diff)
fix(node): better detection for when to surface node resolution errors (#24653)
Diffstat (limited to 'tests/specs/node/byonm_phantom_dep_res_failure/node_modules')
-rw-r--r--tests/specs/node/byonm_phantom_dep_res_failure/node_modules/package/main.js1
-rw-r--r--tests/specs/node/byonm_phantom_dep_res_failure/node_modules/package/package.json4
2 files changed, 5 insertions, 0 deletions
diff --git a/tests/specs/node/byonm_phantom_dep_res_failure/node_modules/package/main.js b/tests/specs/node/byonm_phantom_dep_res_failure/node_modules/package/main.js
new file mode 100644
index 000000000..bc76b8e9e
--- /dev/null
+++ b/tests/specs/node/byonm_phantom_dep_res_failure/node_modules/package/main.js
@@ -0,0 +1 @@
+module.exports = () => console.log('hi'); \ No newline at end of file
diff --git a/tests/specs/node/byonm_phantom_dep_res_failure/node_modules/package/package.json b/tests/specs/node/byonm_phantom_dep_res_failure/node_modules/package/package.json
new file mode 100644
index 000000000..5723987e9
--- /dev/null
+++ b/tests/specs/node/byonm_phantom_dep_res_failure/node_modules/package/package.json
@@ -0,0 +1,4 @@
+{
+ "name": "package",
+ "version": "1.0.0"
+} \ No newline at end of file