Skip to content

Commit

Permalink
Polyfill Intl.* in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sandhose committed Nov 14, 2024
1 parent 1b1de6b commit 08eab0c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/vitest.setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ Please see LICENSE in the repository root for full details.
*/

import "global-jsdom/register";
import "@formatjs/intl-durationformat/polyfill";
import "@formatjs/intl-segmenter/polyfill";
import i18n from "i18next";
import posthog from "posthog-js";
import { initReactI18next } from "react-i18next";
Expand Down

0 comments on commit 08eab0c

Please sign in to comment.