diff options
Diffstat (limited to 'tests/specs')
-rw-r--r-- | tests/specs/npm/denotest2_scope/__test__.jsonc | 5 | ||||
-rw-r--r-- | tests/specs/npm/denotest2_scope/main.js | 3 | ||||
-rw-r--r-- | tests/specs/npm/denotest2_scope/main.out | 3 |
3 files changed, 11 insertions, 0 deletions
diff --git a/tests/specs/npm/denotest2_scope/__test__.jsonc b/tests/specs/npm/denotest2_scope/__test__.jsonc new file mode 100644 index 000000000..f94250771 --- /dev/null +++ b/tests/specs/npm/denotest2_scope/__test__.jsonc @@ -0,0 +1,5 @@ +{ + "tempDir": true, + "args": "run -A main.js", + "output": "main.out" +} diff --git a/tests/specs/npm/denotest2_scope/main.js b/tests/specs/npm/denotest2_scope/main.js new file mode 100644 index 000000000..dba8187a8 --- /dev/null +++ b/tests/specs/npm/denotest2_scope/main.js @@ -0,0 +1,3 @@ +import * as test from "npm:@denotest2/basic"; + +console.log(test.getValue()); diff --git a/tests/specs/npm/denotest2_scope/main.out b/tests/specs/npm/denotest2_scope/main.out new file mode 100644 index 000000000..83e04ddf5 --- /dev/null +++ b/tests/specs/npm/denotest2_scope/main.out @@ -0,0 +1,3 @@ +Download http://localhost:4545/npm/registry/@denotest2/basic +Download http://localhost:4545/npm/registry/@denotest2/basic/1.0.0.tgz +0 |