Skip to content

Commit 19e7fd0

Browse files
committed
fix: also fix ExtensionStateContext.spec.tsx
1 parent 4a3763d commit 19e7fd0

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎webview-ui/src/context/__tests__/ExtensionStateContext.spec.tsx‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ import {
1616
DEFAULT_WRITE_DELAY_MS,
1717
} from "@roo-code/types"
1818

19+
// State messages carrying `language` call i18next.changeLanguage, which throws on an uninitialized
20+
// instance. App imports this setup in production, so the provider expects it to have run.
21+
import "@src/i18n/setup"
22+
1923
import {
2024
ExtensionStateContextProvider,
2125
useExtensionState,

0 commit comments

Comments
 (0)