mirror of
https://github.com/apache/superset.git
synced 2026-04-18 07:35:09 +00:00
Update @superset-ui/colors (#6464)
* Update package version and update breaking changes for color * update color function usage * update dependency
This commit is contained in:
committed by
GitHub
parent
5f7817a6a3
commit
20e1ac6242
@@ -19,10 +19,10 @@ describe('ColorPickerControl', () => {
|
||||
beforeEach(() => {
|
||||
getCategoricalSchemeRegistry()
|
||||
.registerValue('test', new CategoricalScheme({
|
||||
name: 'test',
|
||||
id: 'test',
|
||||
colors: ['red', 'green', 'blue'],
|
||||
}))
|
||||
.setDefaultSchemeName('test');
|
||||
.setDefaultKey('test');
|
||||
wrapper = shallow(<ColorPickerControl {...defaultProps} />);
|
||||
inst = wrapper.instance();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user