mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-24 09:39:35 +02:00
[cypress] Set/reset window.metaAttributesCache globally GitOrigin-RevId: 5aa1d5e37780b53f6ddf7d34587e2119ba328003
16 lines
369 B
TypeScript
16 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()
|
|
})
|