We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6c7e491 commit 0b47d82Copy full SHA for 0b47d82
test/parallel/test-vm-module-errors.js
@@ -198,7 +198,7 @@ async function checkExecution() {
198
// Check for error thrown when breakOnSigint is not a boolean for evaluate()
199
async function checkInvalidOptionForEvaluate() {
200
await assert.rejects(async () => {
201
- const m = new SourceTextModule('export const a = 1; export var b = 2');
+ const m = new SourceTextModule('export const a = 1; export let b = 2');
202
await m.evaluate({ breakOnSigint: 'a-string' });
203
}, {
204
name: 'TypeError',
0 commit comments