summaryrefslogtreecommitdiff
path: root/std/node/tests
diff options
context:
space:
mode:
Diffstat (limited to 'std/node/tests')
-rw-r--r--std/node/tests/cjs/cjs_throw.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/std/node/tests/cjs/cjs_throw.js b/std/node/tests/cjs/cjs_throw.js
new file mode 100644
index 000000000..a636f406b
--- /dev/null
+++ b/std/node/tests/cjs/cjs_throw.js
@@ -0,0 +1,5 @@
+function hello() {
+ throw new Error("bye");
+}
+
+module.exports = { hello };