mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
283c1d7282
[cypress] Set/reset window.metaAttributesCache globally GitOrigin-RevId: 5aa1d5e37780b53f6ddf7d34587e2119ba328003
15 lines
369 B
TypeScript
15 lines
369 B
TypeScript
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()
|
|
})
|