summaryrefslogtreecommitdiff
path: root/cli/tests/testdata/npm/cjs_module_export_assignment/main.ts
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tests/testdata/npm/cjs_module_export_assignment/main.ts')
-rw-r--r--cli/tests/testdata/npm/cjs_module_export_assignment/main.ts6
1 files changed, 6 insertions, 0 deletions
diff --git a/cli/tests/testdata/npm/cjs_module_export_assignment/main.ts b/cli/tests/testdata/npm/cjs_module_export_assignment/main.ts
new file mode 100644
index 000000000..93d3db1c3
--- /dev/null
+++ b/cli/tests/testdata/npm/cjs_module_export_assignment/main.ts
@@ -0,0 +1,6 @@
+import defaultImport, * as namespaceImport from "npm:@denotest/cjs-module-export-assignment";
+import { func } from "npm:@denotest/cjs-module-export-assignment";
+
+console.log(defaultImport);
+console.log(namespaceImport);
+console.log(func());