From f15d7224e023a2ce571d5afb6ec33ba42a1b52cc Mon Sep 17 00:00:00 2001 From: Jeppe B <2jepp9350@gmail.com> Date: Mon, 13 Jul 2026 21:50:28 +0200 Subject: [PATCH] Make failover wiring source check formatter tolerant --- tests/e2e/failover-config.source.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/e2e/failover-config.source.spec.ts b/tests/e2e/failover-config.source.spec.ts index 6ca8a1f1..12229191 100644 --- a/tests/e2e/failover-config.source.spec.ts +++ b/tests/e2e/failover-config.source.spec.ts @@ -24,7 +24,7 @@ test.describe("Failover configuration wiring", () => { expect(client).toContain('"max_status_age_seconds"'); expect(moduleObject).toContain('title: "Failover"'); expect(superUserObject).toContain("modules/failover/Failover.vue"); - expect(superUserObject).toContain("get failover() { return Failover; }"); + expect(superUserObject).toMatch(/get\s+failover\(\)\s*{\s*return\s+Failover;\s*}/); expect(route).toContain("name: 'configurationFailover'"); expect(route).toContain("path: '/superuser/configuration/failover'"); expect(route).toContain("redirect: { path: '/superuser/configuration/releases/data-services'");