Skip to content

Commit

Permalink
Detalle tiempo
Browse files Browse the repository at this point in the history
  • Loading branch information
UO289659 committed Apr 4, 2024
1 parent 5cb90cd commit d6d2982
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion webapp/src/components/Statistics.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const Statistics= () => {
<th>Partidas Jugadas</th>
<th>Preguntas Acertadas</th>
<th>Preguntas Falladas</th>
<th>Tiempo Medio</th>
<th>Tiempo Medio (s)</th>
</tr>
</thead>
<tbody>
Expand Down
2 changes: 1 addition & 1 deletion webapp/src/components/Statistics.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ const table = await screen.findByRole('table');
expect(table).toBeInTheDocument();

// Verificar que la tabla contiene las columnas esperadas
const columnHeaders = ['Partidas Jugadas', 'Preguntas Acertadas', 'Preguntas Falladas', 'Tiempo Medio'];
const columnHeaders = ['Partidas Jugadas', 'Preguntas Acertadas', 'Preguntas Falladas', 'Tiempo Medio (s)'];
const headerElements = screen.getAllByRole('columnheader');
columnHeaders.forEach(headerText => {
expect(headerElements.some(header => header.textContent === headerText)).toBeTruthy();
Expand Down

0 comments on commit d6d2982

Please sign in to comment.