mirror of
https://github.com/TheRealOwenRees/echecsfrance.git
synced 2026-07-23 04:26:57 +00:00
updated tests
This commit is contained in:
@@ -22,7 +22,7 @@ const ThemeSwitcher = () => {
|
||||
{colorTheme === "light" ? (
|
||||
<div
|
||||
className="toggle-dark"
|
||||
data-cy="toggle-dark"
|
||||
data-test="toggle-dark"
|
||||
onClick={() => setTheme("light")}
|
||||
>
|
||||
<MdBrightness2 className="theme-icon-dark" />
|
||||
@@ -30,7 +30,7 @@ const ThemeSwitcher = () => {
|
||||
) : (
|
||||
<div
|
||||
className="toggle"
|
||||
data-cy="toggle"
|
||||
data-test="toggle"
|
||||
onClick={() => setTheme("dark")}
|
||||
>
|
||||
<MdCircle className="theme-icon" />
|
||||
|
||||
Reference in New Issue
Block a user