diff --git a/services/web/test/frontend/bootstrap.js b/services/web/test/frontend/bootstrap.js index 1931c99414..a5e3eaacce 100644 --- a/services/web/test/frontend/bootstrap.js +++ b/services/web/test/frontend/bootstrap.js @@ -3,7 +3,10 @@ require('@babel/register') // Load JSDOM to mock the DOM in Node // Set pretendToBeVisual to enable requestAnimationFrame -require('jsdom-global')(undefined, { pretendToBeVisual: true }) +require('jsdom-global')(undefined, { + pretendToBeVisual: true, + url: 'https://www.test-overleaf.com/', +}) const path = require('path') process.env.SHARELATEX_CONFIG = path.resolve( diff --git a/services/web/test/frontend/features/symbol-palette/components/symbol-palette.test.js b/services/web/test/frontend/features/symbol-palette/components/symbol-palette.test.js index 027b2bc5a3..da80a313d1 100644 --- a/services/web/test/frontend/features/symbol-palette/components/symbol-palette.test.js +++ b/services/web/test/frontend/features/symbol-palette/components/symbol-palette.test.js @@ -67,7 +67,6 @@ describe('symbol palette', function () { // wait for the symbols to be filtered await waitFor(async () => { symbols = await screen.findAllByRole('option') - console.log(symbols.length) expect(symbols).to.have.length(2) })