Fix tests errors and warnings - iteration 6 (#12212) (#12227)

This commit is contained in:
Michael S. Molina
2021-01-26 04:34:05 -03:00
committed by GitHub
parent 4d04565c9a
commit 20503f92ae
10 changed files with 92 additions and 69 deletions

View File

@@ -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} />,