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 691f8d1 commit 200b851Copy full SHA for 200b851
test/parallel/test-repl-async-iife.js
@@ -0,0 +1,11 @@
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');
11
0 commit comments