summaryrefslogtreecommitdiff
path: root/tests/registry/npm/@denotest/cjs-reexport-collision/1.0.0/other_file.js
diff options
context:
space:
mode:
Diffstat (limited to 'tests/registry/npm/@denotest/cjs-reexport-collision/1.0.0/other_file.js')
-rw-r--r--tests/registry/npm/@denotest/cjs-reexport-collision/1.0.0/other_file.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/registry/npm/@denotest/cjs-reexport-collision/1.0.0/other_file.js b/tests/registry/npm/@denotest/cjs-reexport-collision/1.0.0/other_file.js
new file mode 100644
index 000000000..3d8f7e812
--- /dev/null
+++ b/tests/registry/npm/@denotest/cjs-reexport-collision/1.0.0/other_file.js
@@ -0,0 +1,10 @@
+"use strict";
+class Hello {
+ sayHello() {
+ console.log("Hi.");
+ }
+}
+// conflict will be with __esModule
+Object.defineProperty(exports, "__esModule", { value: true });
+exports.hello = new Hello();
+exports.default = new Hello();