summaryrefslogtreecommitdiff
path: root/tests/testdata/npm/local_dir_resolves_symlinks
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testdata/npm/local_dir_resolves_symlinks')
-rw-r--r--tests/testdata/npm/local_dir_resolves_symlinks/index.js3
-rw-r--r--tests/testdata/npm/local_dir_resolves_symlinks/index.out2
-rw-r--r--tests/testdata/npm/local_dir_resolves_symlinks/package.json7
3 files changed, 12 insertions, 0 deletions
diff --git a/tests/testdata/npm/local_dir_resolves_symlinks/index.js b/tests/testdata/npm/local_dir_resolves_symlinks/index.js
new file mode 100644
index 000000000..72d8913f5
--- /dev/null
+++ b/tests/testdata/npm/local_dir_resolves_symlinks/index.js
@@ -0,0 +1,3 @@
+import * as d from "define-properties";
+
+console.log(typeof d.default === "function", "it works");
diff --git a/tests/testdata/npm/local_dir_resolves_symlinks/index.out b/tests/testdata/npm/local_dir_resolves_symlinks/index.out
new file mode 100644
index 000000000..25d44c6b8
--- /dev/null
+++ b/tests/testdata/npm/local_dir_resolves_symlinks/index.out
@@ -0,0 +1,2 @@
+Download [WILDCARD]
+true it works
diff --git a/tests/testdata/npm/local_dir_resolves_symlinks/package.json b/tests/testdata/npm/local_dir_resolves_symlinks/package.json
new file mode 100644
index 000000000..4c974022e
--- /dev/null
+++ b/tests/testdata/npm/local_dir_resolves_symlinks/package.json
@@ -0,0 +1,7 @@
+{
+ "name": "foo",
+ "type": "module",
+ "dependencies": {
+ "define-properties": "^1.2.0"
+ }
+}