test: add tests for states

This commit is contained in:
2026-02-08 01:47:36 +05:00
parent d151d70b0c
commit 3cce3c2abc
10 changed files with 1113 additions and 143 deletions
+1 -1
View File
@@ -32,7 +32,7 @@ function createState() {
return state.fontFamily;
},
set fontFamily(fontFamily: string) {
state.fontFamily = this.fontFamily;
state.fontFamily = fontFamily;
},
get color() {
return state.color;