| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 78c7118 commit 46f698f
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -198,7 +198,7 @@ async function checkExecution() { | |||
| 198 | 198 | // Check for error thrown when breakOnSigint is not a boolean for evaluate() | |
| 199 | 199 | async function checkInvalidOptionForEvaluate() { | |
| 200 | 200 | await assert.rejects(async () => { | |
| 201 | - const m = new SourceTextModule('export const a = 1; export var b = 2'); | ||
| 201 | + const m = new SourceTextModule('export const a = 1; export let b = 2'); | ||
| 202 | 202 | await m.evaluate({ breakOnSigint: 'a-string' }); | |
| 203 | 203 | }, { | |
| 204 | 204 | name: 'TypeError', | |
| Back | FazBrowse Home | New Git URL |
0 commit comments