mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
style: push bootstrap theme towards SIP-34 styles (#10056)
* feat: cartel theme * piling * more tweaks * Make things look better * lint * fix tests * paint it black * tweaks
This commit is contained in:
committed by
GitHub
parent
8e23d4f369
commit
a6390afb89
@@ -49,7 +49,7 @@ describe('QueryAndSaveButtons', () => {
|
||||
});
|
||||
|
||||
it('renders buttons with correct text', () => {
|
||||
expect(wrapper.find(Button).contains(' Run Query')).toBe(true);
|
||||
expect(wrapper.find(Button).contains('Run')).toBe(true);
|
||||
expect(wrapper.find(Button).contains(' Save')).toBe(true);
|
||||
});
|
||||
|
||||
|
||||
@@ -109,7 +109,7 @@ describe('SqlEditor', () => {
|
||||
it('allows toggling autocomplete', () => {
|
||||
const wrapper = shallow(<SqlEditor {...mockedProps} />);
|
||||
expect(wrapper.find(AceEditorWrapper).props().autocomplete).toBe(true);
|
||||
wrapper.find(Checkbox).props().onChange();
|
||||
wrapper.find('.autocomplete').simulate('click');
|
||||
expect(wrapper.find(AceEditorWrapper).props().autocomplete).toBe(false);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user