summaryrefslogtreecommitdiff
path: root/cli/tests/testdata/package_json/basic/main.ts
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tests/testdata/package_json/basic/main.ts')
-rw-r--r--cli/tests/testdata/package_json/basic/main.ts11
1 files changed, 11 insertions, 0 deletions
diff --git a/cli/tests/testdata/package_json/basic/main.ts b/cli/tests/testdata/package_json/basic/main.ts
new file mode 100644
index 000000000..5911fe32d
--- /dev/null
+++ b/cli/tests/testdata/package_json/basic/main.ts
@@ -0,0 +1,11 @@
+import * as test from "@denotest/esm-basic";
+
+console.log(test.getValue());
+
+export function add(a: number, b: number) {
+ return a + b;
+}
+
+export function getValue() {
+ return test.getValue();
+}