From 8735260bc368d8f5c42d62a521c7d6208eb37142 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn-Michael=20Miehe?= Date: Sun, 22 Feb 2026 13:09:56 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=A9=B9=20fix=20lint=20errors=20in=20unit?= =?UTF-8?q?=20tests?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ui/src/__tests__/rectangle.spec.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ui/src/__tests__/rectangle.spec.ts b/ui/src/__tests__/rectangle.spec.ts index 14c8b17..46eb5e6 100644 --- a/ui/src/__tests__/rectangle.spec.ts +++ b/ui/src/__tests__/rectangle.spec.ts @@ -29,14 +29,17 @@ describe("Rectangle Tests", () => { } it("should create a default rectangle", () => { + expect.hasAssertions(); check_rectangle(new Rectangle(), 0, 0, 0, 0); }); it("should create a rectangle", () => { + expect.hasAssertions(); check_rectangle(r1, 1, 2, 3, 4); }); it("should create the same rectangle backwards", () => { + expect.hasAssertions(); check_rectangle(r2, 1, 2, 3, 4); }); @@ -67,6 +70,7 @@ describe("Rectangle Tests", () => { }); it("should update a rectangle", () => { + expect.hasAssertions(); const v = new Vector2D(1, 1); check_rectangle(r1.update(v1.plus(v), undefined), 2, 3, 2, 3); @@ -83,6 +87,7 @@ describe("Rectangle Tests", () => { }); it("should move a rectangle", () => { + expect.hasAssertions(); const v = new Vector2D(1, 1); check_rectangle(r1.move(v), 2, 3, 3, 4);