summaryrefslogtreecommitdiff
path: root/std/node/tests/cjs/cjs_b.js
diff options
context:
space:
mode:
authorKevin (Kun) "Kassimo" Qian <kevinkassimo@gmail.com>2019-11-18 22:54:20 -0800
committerRy Dahl <ry@tinyclouds.org>2019-11-19 01:54:20 -0500
commite73a82dc42b3d80bea42482e227c31e5ef01e273 (patch)
tree5c3f26bc19d4ce6b3e42b2fe48f47e1cccbb29fd /std/node/tests/cjs/cjs_b.js
parente6fdb2628fdeeae0c7b06c25214b2edba96364dd (diff)
feat(std/node) add CommonJS require (#3380)
Diffstat (limited to 'std/node/tests/cjs/cjs_b.js')
-rw-r--r--std/node/tests/cjs/cjs_b.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/std/node/tests/cjs/cjs_b.js b/std/node/tests/cjs/cjs_b.js
new file mode 100644
index 000000000..17499012c
--- /dev/null
+++ b/std/node/tests/cjs/cjs_b.js
@@ -0,0 +1,5 @@
+function helloB() {
+ return "B";
+}
+
+module.exports = { helloB };