feat: Mecanismo section (04, dark) — 3-step method

This commit is contained in:
erikgh committed 2026-07-21 10:32:19 -06:00
1 parent e380e9751a
commit a97718f43e
3 files changed
+47

No files matched your search

@@ -0,0 +1,16 @@
import { render, screen } from '@testing-library/react';
import { describe, it, expect } from 'vitest';
import { Mecanismo } from '../Mecanismo';
describe('<Mecanismo />', () => {
it('renders the 3 steps in order', () => {
render(<Mecanismo />);
expect(screen.getByText('Inmersión')).toBeInTheDocument();
expect(screen.getByText('Desafiar supuestos')).toBeInTheDocument();
expect(screen.getByText('Estrategia ejecutable')).toBeInTheDocument();
});
it('renders step numbers 01/02/03', () => {
const { container } = render(<Mecanismo />);
expect(container.textContent).toMatch(/01.+02.+03/);
});
});