Files
overleaf-cep/services/web/cypress/support/component.ts
T
Malik Glossop 6794af0ede Merge pull request #34110 from overleaf/mg-toolbar-language-suggestions
Add language suggestion controls to editor toolbar

GitOrigin-RevId: fe52b909b44ef8ccfc1449366bbf62f2d9d7ee4e
2026-06-10 11:58:20 +00:00

16 lines
518 B
TypeScript

// Prime the writefull IoC container before other imports to avoid a circular
// dependency TDZ error (command.ts → ioc.ts → handler.ts → command.ts).
import '@wf/infrastructure/ioc'
import 'cypress-plugin-tab'
import { resetMeta } from './ct/window' // needs to be before i18n
import localesPromise from '@/i18n'
import './shared/commands'
import './shared/exceptions'
import './ct/commands'
import '../../test/frontend/helpers/bootstrap'
beforeEach(function () {
cy.wrap(localesPromise).then(resetMeta)
})