Closed CarlosEspinosa88 closed 1 year ago
I edited some test and add a new one. to investigate this matcher from jest toHaveTextContent
toHaveTextContent
ie:
const text = screen.getByText(/spider/i); expect(text).toHaveTextContent('Spider-Man')
fix #15
I edited some test and add a new one. to investigate this matcher from jest
toHaveTextContent
ie:
fix #15