We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b4b15b7 commit 0b49560Copy full SHA for 0b49560
test/parallel/test-repl-unsupported-option.js
@@ -0,0 +1,10 @@
1
+'use strict';
2
+
3
+require('../common');
4
5
+const assert = require('assert');
6
+const { spawnSync } = require('child_process');
7
8
+const result = spawnSync(process.execPath, ['-i', '--input-type=module']);
9
10
+assert.match(result.stderr.toString(), /Cannot specify --input-type for REPL/);
0 commit comments