mirror of
https://github.com/apache/superset.git
synced 2026-04-19 16:14:52 +00:00
Some linting (#5790)
This commit is contained in:
committed by
GitHub
parent
71f014e9b6
commit
5b97fe5c0c
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user