Skip to content

Commit 865a7bf

Browse files
committed
fixes
1 parent fb29bdd commit 865a7bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cypress/e2e/laboratory/preflight.cy.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ describe('Preflight Modal', () => {
5757
});
5858

5959
it('script cannot have TypeScript syntax', () => {
60-
cyPreflight.setScriptEditorContent('let a:number = 1');
60+
cyPreflight.setScriptEditorContent('const a:number = 1; a');
6161
cyMonaco.nextProblemContains(selectors.modal.scriptEditor, 'Type annotations can only be used in TypeScript files.'); // prettier-ignore
6262
});
6363

0 commit comments

Comments
 (0)