diff options
Diffstat (limited to 'tests/specs')
-rw-r--r-- | tests/specs/npm/specifier_two_slashes/__test__.jsonc | 4 | ||||
-rw-r--r-- | tests/specs/npm/specifier_two_slashes/main.ts | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/tests/specs/npm/specifier_two_slashes/__test__.jsonc b/tests/specs/npm/specifier_two_slashes/__test__.jsonc new file mode 100644 index 000000000..bddbdbc1c --- /dev/null +++ b/tests/specs/npm/specifier_two_slashes/__test__.jsonc @@ -0,0 +1,4 @@ +{ + "args": "run --quiet main.ts", + "output": "3\n" +} diff --git a/tests/specs/npm/specifier_two_slashes/main.ts b/tests/specs/npm/specifier_two_slashes/main.ts new file mode 100644 index 000000000..ef1adceb5 --- /dev/null +++ b/tests/specs/npm/specifier_two_slashes/main.ts @@ -0,0 +1,3 @@ +import { add } from "npm:@denotest/specifier-two-slashes"; + +console.log(add(1, 2)); |