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