Hoi! Ik ben Andrea
Lifestyle fotograaf uit Huizen.
,
);
expect(screen.getByRole('img')).toHaveAccessibleName(image.alt);
expect(
screen.getByRole('heading', { name: 'Hoi! Ik ben Andrea' }),
).toBeInTheDocument();
expect(
screen.getByText('Lifestyle fotograaf uit Huizen.'),
).toBeInTheDocument();
expect(await axeResults(container)).toHaveNoViolations();
});
it('puts the photo before the text, also when stacked', async () => {
await renderWithProviders(