mirror of
https://github.com/overleaf/overleaf.git
synced 2025-02-11 10:32:40 +00:00
19 lines
439 B
TypeScript
19 lines
439 B
TypeScript
import 'cypress-plugin-tab'
|
|
import '../../frontend/stylesheets/main-style.less'
|
|
import './ct/window' // needs to be before i18n
|
|
import '../../frontend/js/i18n'
|
|
import './shared/commands'
|
|
import './shared/exceptions'
|
|
import './ct/commands'
|
|
|
|
beforeEach(function () {
|
|
cy.window().then(win => {
|
|
win.metaAttributesCache = new Map()
|
|
})
|
|
})
|
|
|
|
afterEach(function () {
|
|
cy.window().then(win => {
|
|
win.metaAttributesCache?.clear()
|
|
})
|
|
})
|