Skip to content

Commit

Permalink
Merge pull request #157 from Arquisoft/UO289659
Browse files Browse the repository at this point in the history
Bug test estadísticas arreglado
  • Loading branch information
UO289659 authored Apr 22, 2024
2 parents 436f598 + 9093453 commit 4db91dd
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions webapp/src/components/Statistics.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,9 @@ describe('Statistics component', () => {

test('user statistics', async () => {
render(<Statistics />);
let statisticWordArray=screen.getAllByText(/Estadísticas/i)
for(let i=0;i<2;i++){
expect(statisticWordArray[i]).toBeInTheDocument();
}
let statisticWord = screen.getByText(/Estadísticas/i);
expect(statisticWord).toBeInTheDocument();

});


Expand Down

0 comments on commit 4db91dd

Please sign in to comment.