You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
359 B
18 lines
359 B
import React from 'react'
|
|
import { render, screen } from '@testing-library/react'
|
|
|
|
|
|
describe('Index', () => {
|
|
it('should show win content if the code is valide', () => {
|
|
const button = screen.getByRole('button', {
|
|
name: /Découvrir mon cadeau \.js!/i,
|
|
})
|
|
|
|
|
|
expect(button).toBeInTheDocument()
|
|
})
|
|
|
|
it('should test code', () => {
|
|
|
|
})
|
|
}) |