keycloak-scim/js/apps/admin-ui/vitest.setup.ts
dependabot[bot] 7b3d9a9e08
Bump @testing-library/jest-dom from 6.0.1 to 6.1.2 in /js (#22701)
Bumps [@testing-library/jest-dom](https://github.com/testing-library/jest-dom) from 6.0.1 to 6.1.2.
- [Release notes](https://github.com/testing-library/jest-dom/releases)
- [Changelog](https://github.com/testing-library/jest-dom/blob/main/CHANGELOG.md)
- [Commits](https://github.com/testing-library/jest-dom/compare/v6.0.1...v6.1.2)

---
updated-dependencies:
- dependency-name: "@testing-library/jest-dom"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-25 15:05:21 +00:00

14 lines
344 B
TypeScript

import "@testing-library/jest-dom/vitest";
import { use } from "i18next";
import { initReactI18next } from "react-i18next";
use(initReactI18next).init({
lng: "en",
fallbackLng: "en",
// have a common namespace used around the full app
ns: ["translations"],
defaultNS: "translations",
resources: { en: { translations: {} } },
});