We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9dab32f commit d8da9daCopy full SHA for d8da9da
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