From e9f311fdbe7dcc66615e06dd8027a02d95d9cf94 Mon Sep 17 00:00:00 2001 From: mschuepbach Date: Sat, 23 Jul 2022 18:14:04 +0200 Subject: [PATCH] Fix theme tests --- cypress/e2e/theme.cy.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cypress/e2e/theme.cy.js b/cypress/e2e/theme.cy.js index 4970d8c..051e121 100644 --- a/cypress/e2e/theme.cy.js +++ b/cypress/e2e/theme.cy.js @@ -26,12 +26,12 @@ const isLightMode = () => { describe("Theme", () => { it("is light by default", () => { cy.visit("/"); - isDarkMode(); + isLightMode(); }); it("is dark if user has set it in the browser", () => { visit(true); - isLightMode(); + isDarkMode(); }); it("can toggle", () => {