Skip to content

Commit

Permalink
type check solved
Browse files Browse the repository at this point in the history
  • Loading branch information
mbondyra committed Oct 27, 2021
1 parent 045ee8c commit ac9fbdb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion x-pack/test/api_integration/apis/lens/telemetry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,8 @@ export default ({ getService }: FtrProviderContext) => {
'x-pack/test/functional/fixtures/kbn_archiver/lens/lens_basic.json'
);

const results = await getVisualizationCounts(() => Promise.resolve(es), '.kibana');
const kibanaClient = convertToKibanaClient(es);
const results = await getVisualizationCounts(() => Promise.resolve(kibanaClient), '.kibana');

expect(results).to.have.keys([
'saved_overall',
Expand Down

0 comments on commit ac9fbdb

Please sign in to comment.