Created
March 27, 2022 20:08
-
-
Save nemrosim/28b54f0f1af86f8e1eb611f559cffd18 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const sameImage = screen.getByAltText('logo'); | |
expect(sameImage).toBeInTheDocument(); | |
}); | |
+ | |
+it('should render paragraph with text', () => { | |
+ render(<App />); | |
+ | |
+ expect( | |
+ screen.getByText('Edit src/App.tsx and save to reload.'), | |
+ ).toBeInTheDocument(); | |
+}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment