15 lines
471 B
TypeScript
15 lines
471 B
TypeScript
import { render, screen } from '@testing-library/react';
|
|
import { describe, it, expect } from 'vitest';
|
|
import { Estratega } from '../Estratega';
|
|
|
|
describe('<Estratega />', () => {
|
|
it('renders the bio', () => {
|
|
render(<Estratega />);
|
|
expect(screen.getByText(/30 años/i)).toBeInTheDocument();
|
|
});
|
|
it('renders the institutional quote', () => {
|
|
render(<Estratega />);
|
|
expect(screen.getByText(/El tiempo no se compra/i)).toBeInTheDocument();
|
|
});
|
|
});
|