Skip to content

The agent that grows with you

test(desktop): assert localized About channel labels

ethernet7275f32a215f
diff --git a/apps/desktop/src/app/settings/about-settings.test.tsx b/apps/desktop/src/app/settings/about-settings.test.tsx
index 11c809b9279..4afed38d342 100644
--- a/apps/desktop/src/app/settings/about-settings.test.tsx
+++ b/apps/desktop/src/app/settings/about-settings.test.tsx
@@ -113,7 +113,7 @@ describe('AboutSettings', (): void => {
it('shows the fixed package channel with no selector', (): void => {
$desktopVersion.set({ ...$desktopVersion.get()!, channel: 'canary' })
render(<AboutSettings />)
- expect(screen.getByText(`${en.updates.version('1.2.3')} · canary`)).toBeTruthy()
+ expect(screen.getByText(`${en.updates.version('1.2.3')} · ${en.updates.channels.canary}`)).toBeTruthy()
expect(screen.queryByRole('combobox')).toBeNull()
})