Skip to content

Commit df235f6

Browse files
committed
test(console): type the zh pack read of the upgrade-link label
Co-authored-by: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Q4EjjQkY5yXZrN9BEA3rEK
1 parent 48298e0 commit df235f6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎ui/packages/app-shell/src/console/organizations/__tests__/CreateWorkspaceDialog.test.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,7 @@ describe('the unpaid-organization limit refusal shows its sentence and next step
451451
expect(shown).toHaveTextContent(ZH_SENTENCE);
452452
const link = screen.getByTestId('workspace-create-upgrade');
453453
expect(link).toHaveAttribute('href', UPGRADE_URL);
454-
expect(link).toHaveTextContent((builtInLocales['zh-Hans'] as { organization: Record<string, string> }).organization.viewPlans);
454+
expect(link).toHaveTextContent((builtInLocales['zh-Hans'] as { organization: { viewPlans: string } }).organization.viewPlans);
455455
expect(createOrganization).toHaveBeenCalledTimes(1);
456456
expect(provisionMock).not.toHaveBeenCalled();
457457
});

0 commit comments

Comments
 (0)