summaryrefslogtreecommitdiff
path: root/cli/tests/testdata/npm/registry/@denotest/cjs-module-export-assignment/1.0.0/index.js
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2022-10-27 17:54:46 -0400
committerGitHub <noreply@github.com>2022-10-27 17:54:46 -0400
commita4d4acd1aff3f6213d43d921624d69195c379744 (patch)
tree9c3dd94821e36c59d97aea666d5dd4c3aa6823ef /cli/tests/testdata/npm/registry/@denotest/cjs-module-export-assignment/1.0.0/index.js
parent1376c6932f6357a38fa3d3d0f134951f3890964a (diff)
chore(npm): add explicit tests for `module.exports` assignment with type checking (#16435)
Diffstat (limited to 'cli/tests/testdata/npm/registry/@denotest/cjs-module-export-assignment/1.0.0/index.js')
-rw-r--r--cli/tests/testdata/npm/registry/@denotest/cjs-module-export-assignment/1.0.0/index.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/cli/tests/testdata/npm/registry/@denotest/cjs-module-export-assignment/1.0.0/index.js b/cli/tests/testdata/npm/registry/@denotest/cjs-module-export-assignment/1.0.0/index.js
new file mode 100644
index 000000000..4c0285825
--- /dev/null
+++ b/cli/tests/testdata/npm/registry/@denotest/cjs-module-export-assignment/1.0.0/index.js
@@ -0,0 +1,5 @@
+module.exports = {
+ func() {
+ return 5;
+ },
+};