We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 38af531 commit 60b9aaaCopy full SHA for 60b9aaa
test/parallel/test-repl-async-iife.js
@@ -0,0 +1,10 @@
1
+'use strict';
2
+require('../common');
3
+
4
+// Note: This test ensures that async IIFE doesn't crash
5
+// Ref: https://github.com/nodejs/node/issues/38685
6
7
+const repl = require('repl').start({ terminal: true });
8
9
+repl.write('(async() => { })()\n');
10
+repl.write('.exit\n');
0 commit comments