Skip to content

Commit 1690f3f

Browse files
Update form.spec.ts
1 parent 5f821a6 commit 1690f3f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/form.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ test.describe("Weather Widget", () => {
8787
.textContent();
8888

8989
expect(temperatureText).toMatch(/Temperature: \d+\.\d+°C/);
90-
expect(windSpeedText).toMatch(/Wind Speed: \d+\.\d+ km\/h/);
90+
expect(windSpeedText).toMatch(/Wind Speed: \d+(\.\d+)? km\/h/);
9191
});
9292
});
9393

0 commit comments

Comments
 (0)