Skip to content

Commit

Permalink
Cambiando el regex
Browse files Browse the repository at this point in the history
  • Loading branch information
iyanfdezz committed Apr 25, 2024
1 parent 5895f08 commit e19ce7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webapp/src/pages/Calculadora/Calculadora.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ test("renders the game screen", () => {
);

// Check if the game screen is rendered
expect(screen.getByText(/(\d+)\s*([-+*/])\s*(\d+)/i)).toBeInTheDocument();
expect(screen.getByText(/\b\d+\s*[-+*/]\s*\d+\b/i)).toBeInTheDocument();
expect(screen.getByTitle(/number/i)).toBeInTheDocument();
expect(screen.getByRole("button", { name: /enviar/i })).toBeInTheDocument();
expect(screen.getByText(/tiempo restante/i)).toBeInTheDocument();
Expand Down

0 comments on commit e19ce7f

Please sign in to comment.