// jest-dom adds custom jest matchers for asserting on DOM nodes.
// allows you to do things like:
// expect(element).toHaveTextContent(/react/i)
// learn more: https://github.com/testing-library/jest-dom
import i18n from 'i18next';

import '@testing-library/jest-dom/extend-expect';
import 'src/config/i18n';

i18n.changeLanguage('es');

jest.mock('@okta/okta-react', () => ({
  useOktaAuth: () => ({ oktaAuth: { token: { getWithPopup: () => {} } } }),
}));
