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:
Maxime Beauchemin
2020-06-18 15:01:58 -07:00
committed by GitHub
parent 8e23d4f369
commit a6390afb89
18 changed files with 148 additions and 90 deletions

View File

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

View File

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