Skip to content

The agent that grows with you

fmt(js): `npm run fix` on merge (#120737)

hermes-seaeye[bot]9822170b19d5
diff --git a/apps/desktop/src/contrib/kanban-i18n.test.tsx b/apps/desktop/src/contrib/kanban-i18n.test.tsx
index 3062d916200..743eaad1f37 100644
--- a/apps/desktop/src/contrib/kanban-i18n.test.tsx
+++ b/apps/desktop/src/contrib/kanban-i18n.test.tsx
@@ -17,7 +17,10 @@ import { KANBAN_LOCALES } from '../plugins/kanban/i18n'
import plugin from '../plugins/kanban/plugin'
// Keep the real registration and UI path without opening a board socket.
-vi.mock('../plugins/kanban/api', async () => ({ ...(await vi.importActual('../plugins/kanban/api')), bindApi: () => () => {} }))
+vi.mock('../plugins/kanban/api', async () => ({
+ ...(await vi.importActual('../plugins/kanban/api')),
+ bindApi: () => () => {}
+}))
let i18n: I18nContextValue
const disposers: Array<() => void> = []
@@ -80,6 +83,7 @@ it('relabels Kanban after delayed config load and locale switches without replac
if (locale !== 'zh') {
await act(() => i18n.setLocale(locale))
}
+
const messages = KANBAN_LOCALES[locale]!
expect(screen.getByText(messages.nav as string)).toBeTruthy()
expect(screen.getByRole('button', { name: messages.openBoard as string })).toBeTruthy()