94233: Fixed tests

This commit is contained in:
lotte
2022-09-22 17:07:09 +02:00
parent 08577f5f17
commit d68f38e848
5 changed files with 17 additions and 7 deletions

View File

@@ -19,7 +19,7 @@ export function cssVariablesReducer(state = initialState, action: CSSVariableAct
return Object.assign({}, state, { [variable.name]: variable.value });
} case CSSVariableActionTypes.ADD_ALL: {
const variables = action.payload;
return Object.assign({}, state, ...variables.map(({ key, value }: KeyValuePair<string, string>) => {return {[key]: value}}));
return Object.assign({}, state, ...variables.map(({ key, value }: KeyValuePair<string, string>) => {return {[key]: value};}));
} case CSSVariableActionTypes.CLEAR: {
return initialState;
}