import React from 'react' import { render, screen } from '@testing-library/react' describe('Index', () => { it('should show win content if the ticket code is valid', () => { const button = screen.getByRole('button', { name: /Découvrir mon cadeau \.js!/i, }) expect(button).toBeInTheDocument() }) it('should test code', () => { }) })