fix(colors): fix color schemes (#13945)

* fix: fix color schemes

* fix: tests case
This commit is contained in:
simcha90
2021-04-04 15:53:21 +03:00
committed by GitHub
parent abd4051f7a
commit e06290663a
2 changed files with 11 additions and 1 deletions

View File

@@ -113,7 +113,7 @@ describe('PropertiesModal', () => {
const spy = jest.spyOn(modalInstance, 'onMetadataChange');
modalInstance.onColorSchemeChange('SUPERSET_DEFAULT');
expect(spy).toHaveBeenCalledWith(
'{"color_scheme": "SUPERSET_DEFAULT"}',
'{"color_scheme": "SUPERSET_DEFAULT", "label_colors": {}}',
);
});
});