component.ts 518 B

123456789101112131415
  1. // Prime the writefull IoC container before other imports to avoid a circular
  2. // dependency TDZ error (command.ts → ioc.ts → handler.ts → command.ts).
  3. import '@wf/infrastructure/ioc'
  4. import 'cypress-plugin-tab'
  5. import { resetMeta } from './ct/window' // needs to be before i18n
  6. import localesPromise from '@/i18n'
  7. import './shared/commands'
  8. import './shared/exceptions'
  9. import './ct/commands'
  10. import '../../test/frontend/helpers/bootstrap'
  11. beforeEach(function () {
  12. cy.wrap(localesPromise).then(resetMeta)
  13. })