Skip to content

Commit

Permalink
Merge branch 'develop' of https://github.com/Arquisoft/wiq_es1a into …
Browse files Browse the repository at this point in the history
…develop
  • Loading branch information
CANCI0 committed Apr 16, 2024
2 parents 115a751 + 57280eb commit 0fb5aa9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webapp/src/pages/Stats/Stats.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ describe("Stats component", () => {
expect(headerElement).toBeInTheDocument();
});
Object.entries(userData).forEach(([key, value]) => {
if (key !== "username") {
if (key !== "username" && key!=="_id") {
if (key === "avgPoints" || key === "avgTime") {
expect(screen.getByText(value.toFixed(2))).toBeInTheDocument();
} else if (key === "ratioCorrect") {
Expand Down

0 comments on commit 0fb5aa9

Please sign in to comment.