mirror of
https://github.com/apache/superset.git
synced 2026-04-19 16:14:52 +00:00
committed by
GitHub
parent
4d04565c9a
commit
20503f92ae
@@ -49,6 +49,7 @@ describe('ExploreResultsButton', () => {
|
||||
database,
|
||||
show: true,
|
||||
query: queries[0],
|
||||
onClick() {},
|
||||
};
|
||||
const mockColumns = {
|
||||
ds: {
|
||||
@@ -90,6 +91,7 @@ describe('ExploreResultsButton', () => {
|
||||
database,
|
||||
show: true,
|
||||
query: queryWithBadColumns,
|
||||
onClick() {},
|
||||
});
|
||||
|
||||
const badCols = wrapper.instance().getInvalidColumns();
|
||||
@@ -147,6 +149,7 @@ describe('ExploreResultsButton', () => {
|
||||
show: true,
|
||||
query: longQuery,
|
||||
database,
|
||||
onClick() {},
|
||||
};
|
||||
const longQueryWrapper = shallow(
|
||||
<ExploreResultsButton store={store} {...props} />,
|
||||
|
||||
Reference in New Issue
Block a user