feat: emphasize growth analyst promotion
This commit is contained in:
@@ -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();
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user