CarlosEspinosa88 / marvel-nextjs13

Next.js 13 (app folder)
0 stars 0 forks source link

add box_card testing #17

Closed CarlosEspinosa88 closed 1 year ago

CarlosEspinosa88 commented 1 year ago

I edited some test and add a new one. to investigate this matcher from jest toHaveTextContent

ie:

const text = screen.getByText(/spider/i);
expect(text).toHaveTextContent('Spider-Man')

fix #15