summaryrefslogtreecommitdiff
path: root/tests/registry/npm/@denotest/cjs-this-in-exports/1.0.0/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'tests/registry/npm/@denotest/cjs-this-in-exports/1.0.0/index.js')
-rw-r--r--tests/registry/npm/@denotest/cjs-this-in-exports/1.0.0/index.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/registry/npm/@denotest/cjs-this-in-exports/1.0.0/index.js b/tests/registry/npm/@denotest/cjs-this-in-exports/1.0.0/index.js
new file mode 100644
index 000000000..21a9d7d7e
--- /dev/null
+++ b/tests/registry/npm/@denotest/cjs-this-in-exports/1.0.0/index.js
@@ -0,0 +1,8 @@
+module.exports = {
+ getValue() {
+ return this.otherMethod();
+ },
+ otherMethod() {
+ return 1;
+ },
+};