diff --git a/cypress/e2e/spec.cy.ts b/cypress/e2e/spec.cy.ts index 3755f8d..5555689 100644 --- a/cypress/e2e/spec.cy.ts +++ b/cypress/e2e/spec.cy.ts @@ -10,6 +10,8 @@ describe('Editor Test', () => { it('displays the infoview', () => { cy.on('uncaught:exception', (err, runnable) => { + // Note: this is because the server throws sometimes random errors about + // the Lean server being stopped/restarted etc. which don't prevent the site from working return false }) cy.visit('http://localhost:5173/') @@ -19,6 +21,7 @@ describe('Editor Test', () => { it('changes themes', () => { cy.on('uncaught:exception', (err, runnable) => { + // Note: see note about console errors above return false }) cy.visit('http://localhost:5173/') @@ -38,6 +41,7 @@ describe('Editor Test', () => { it('inputs unicode', () => { cy.on('uncaught:exception', (err, runnable) => { + // Note: see note about console errors above return false }) cy.visit('http://localhost:5173/') @@ -53,6 +57,7 @@ describe('Editor Test', () => { it('allows for multiple editors', () => { cy.on('uncaught:exception', (err, runnable) => { + // Note: see note about console errors above return false }) cy.visit('http://localhost:5173/') diff --git a/demo/src/LeanMonaco.tsx b/demo/src/LeanMonaco.tsx index 291578f..ce348c5 100644 --- a/demo/src/LeanMonaco.tsx +++ b/demo/src/LeanMonaco.tsx @@ -29,7 +29,7 @@ function LeanMonacoComponent({options, numberEditors} : {options: LeanMonacoOpti <> {[...Array(numberEditors)].map((_x, i) => - + )}