overleaf/services/web/cypress/support/component.ts
Alf Eaton 612c7c28b0 Merge pull request #16511 from overleaf/ae-upgrade-uppy
Upgrade Uppy to v3

GitOrigin-RevId: ca3e366a20ac651a98aafe12bf319b1968ac6ec1
2024-01-19 09:05:05 +00:00

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()
})
})