diff options
Diffstat (limited to 'tests/testdata/npm/registry/@denotest/cjs-default-export/1.0.0/index.js')
-rw-r--r-- | tests/testdata/npm/registry/@denotest/cjs-default-export/1.0.0/index.js | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/testdata/npm/registry/@denotest/cjs-default-export/1.0.0/index.js b/tests/testdata/npm/registry/@denotest/cjs-default-export/1.0.0/index.js new file mode 100644 index 000000000..ec4ece6b3 --- /dev/null +++ b/tests/testdata/npm/registry/@denotest/cjs-default-export/1.0.0/index.js @@ -0,0 +1,17 @@ +Object.defineProperty(module.exports, "__esModule", { + value: true +}); +module.exports["default"] = function() { + return 1; +}; +module.exports["named"] = function() { + return 2; +}; + +class MyClass { + static someStaticMethod() { + return "static method"; + } +} + +module.exports.MyClass = MyClass; |