This file contains hidden or 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}`) | |
}) | |
}) |
OlderNewer