Closed daddasoft closed 1 year ago
The This not run because the method doesn't exist on the jest Object :
expect(screen.getByText('this guide')).toHaveAttribute( 'href', 'https://mantine.dev/guides/next/' );
need to be :
expect(screen.getByText('this guide')).toHaveProperty( 'href', 'https://mantine.dev/guides/next/' );
I make a pull request : #10
The original version with toHaveAttribute, works fine for me.
yeah it's work for me also when i use another environment (gitpod) i don't know why ?
The This not run because the method doesn't exist on the jest Object :
need to be :