test: add tests for states
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user