Created
April 15, 2024 20:30
-
-
Save danizavtz/0f2eb1e4cd554ba0839fd20b322845d0 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
describe('Navbar',() => { | |
it('should get success request to api and render the poins on navbar', async () => { | |
const displayPontos = await screen.findByTestId('display-pontos') | |
const getPontos = await ApiClient().get('ponto/total/user') | |
expect(displayPontos).toHaveTextContent(`${getPontos.data.total}`) | |
}) | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment