overleaf/services/web/cypress/support/component.ts

16 lines
369 B
TypeScript
Raw Normal View History

import 'cypress-plugin-tab'
import '../../frontend/stylesheets/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 () {
window.metaAttributesCache = new Map()
})
afterEach(function () {
window.metaAttributesCache.clear()
})