diff --git a/tests/router/index.spec.ts b/tests/router/index.spec.ts index eb8aee6..8cad8ba 100644 --- a/tests/router/index.spec.ts +++ b/tests/router/index.spec.ts @@ -142,11 +142,11 @@ describe("Router Integration Tests", () => { it("provides route metadata access", () => { const routes = router.getRoutes(); - routes.forEach(route => { + for (const route of routes) { expect(route).toHaveProperty("path"); expect(route).toHaveProperty("name"); expect(route).toHaveProperty("meta"); - }); + } }); it("is ready after initialization", async () => {