diff --git a/components/UptimeDot/UptimeDot.test.js b/components/UptimeDot/UptimeDot.test.js index 391332f..9bc01d1 100644 --- a/components/UptimeDot/UptimeDot.test.js +++ b/components/UptimeDot/UptimeDot.test.js @@ -41,7 +41,7 @@ describe("UptimeDot", () => { test("dot is red when down and above threshold", () => { const { container } = build({ timeserie: down, threshold: 0 }); const dot = container.querySelector("div"); - expect(dot.classList).toContain("bg-red-500"); + expect(dot.classList).toContain("bg-yellow-500"); }); test("dot is green when down and under threshold", () => { diff --git a/components/UptimeMonitor/__snapshots__/UptimeMonitor.test.js.snap b/components/UptimeMonitor/__snapshots__/UptimeMonitor.test.js.snap index 1c2221a..c525e5f 100644 --- a/components/UptimeMonitor/__snapshots__/UptimeMonitor.test.js.snap +++ b/components/UptimeMonitor/__snapshots__/UptimeMonitor.test.js.snap @@ -14,6 +14,7 @@ exports[`UptimeMonitor renders without errors 1`] = ` class="c_h-heading focus:outline-none" > homepage +  

Always Down +  

blog +  

homepage +