mirror of
https://github.com/mschuepbach/matrix-kernel-filter-calculator.git
synced 2026-01-15 21:12:14 +01:00
Fix theme tests
This commit is contained in:
@@ -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", () => {
|
||||
|
||||
Reference in New Issue
Block a user