mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-07 08:09:01 +02:00
Improve bibliography import tests (#4217)
GitOrigin-RevId: 25ddff808a8b427e024d9d1375a24fc86305c38e
This commit is contained in:
+4
-1
@@ -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(
|
||||
|
||||
@@ -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)
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user