summaryrefslogtreecommitdiff
path: root/tests/specs/npm/future_node_modules_dir_setting/main.ts
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2024-04-05 10:34:51 -0400
committerGitHub <noreply@github.com>2024-04-05 10:34:51 -0400
commit049e703331409db8c4b4e2cc7d969f471c229df3 (patch)
treea31458a651e931d2047c348bdcbe0379470bf925 /tests/specs/npm/future_node_modules_dir_setting/main.ts
parentee4bfe16009c3a04c9015bf9fca0c9b0f9a3a601 (diff)
FUTURE: override byonm with nodeModulesDir setting (#23222)
Makes the `"nodeModulesDir"` setting take precedence over byonm when using `DENO_FUTURE`.
Diffstat (limited to 'tests/specs/npm/future_node_modules_dir_setting/main.ts')
-rw-r--r--tests/specs/npm/future_node_modules_dir_setting/main.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/specs/npm/future_node_modules_dir_setting/main.ts b/tests/specs/npm/future_node_modules_dir_setting/main.ts
new file mode 100644
index 000000000..99972873b
--- /dev/null
+++ b/tests/specs/npm/future_node_modules_dir_setting/main.ts
@@ -0,0 +1,4 @@
+import { getValue, setValue } from "@denotest/esm-basic";
+
+setValue(2);
+console.log(getValue());