mirror of
https://github.com/apache/superset.git
synced 2026-04-16 22:55:52 +00:00
fix(colors): fix color schemes (#13945)
* fix: fix color schemes * fix: tests case
This commit is contained in:
@@ -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": {}}',
|
||||
);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user