Some linting (#5790)

This commit is contained in:
Maxime Beauchemin
2018-09-20 08:11:43 -07:00
committed by GitHub
parent 71f014e9b6
commit 5b97fe5c0c
39 changed files with 264 additions and 167 deletions

View File

@@ -93,20 +93,6 @@ describe('ExploreResultsButton', () => {
expect(wrapper.find(Button)).to.have.length(1);
});
describe('getColumnFromProps', () => {
it('should require valid query parameter in props', () => {
const emptyQuery = {
database,
show: true,
query: {},
};
const wrapper = shallow(<ExploreResultsButton {...emptyQuery} />, {
context: { store },
}).dive();
expect(wrapper.state().hints).to.deep.equal([]);
});
});
describe('datasourceName', () => {
let wrapper;
let stub;