feat: emphasize growth analyst promotion

This commit is contained in:
2026-08-21 16:50:21 +08:00
parent e3ead133f4
commit d914e8735d
3 changed files with 32 additions and 7 deletions

View File

@@ -7,9 +7,9 @@ describe('GrowthTeaser', () => {
it('links to the growth analyst without starting a generation request', () => {
render(GrowthTeaser, { href: '/growth?terminal=terminal-1' });
expect(screen.getByRole('link', { name: /دیدن تحلیل ۹۰ روزه/ }).getAttribute('href')).toBe(
'/growth?terminal=terminal-1',
);
const link = screen.getByRole('link', { name: /دیدن تحلیل ۹۰ روزه/ });
expect(link.getAttribute('href')).toBe('/growth?terminal=terminal-1');
expect(link.className).toContain('bg-primary');
expect(screen.getByText('تحلیل‌گر رشد')).not.toBeNull();
});
});