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:
Krist Wongsuphasawat
2018-11-30 09:50:42 -08:00
committed by GitHub
parent 5f7817a6a3
commit 20e1ac6242
15 changed files with 34 additions and 34 deletions

View File

@@ -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();
});