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