From 1bede7d28a25c6db6437a2d5d67c34a930c44c85 Mon Sep 17 00:00:00 2001 From: Philip Carneiro Date: Mon, 1 Jul 2024 09:31:10 +0100 Subject: [PATCH] fix tests --- test/suite/commands.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/suite/commands.test.ts b/test/suite/commands.test.ts index 317ca974..fbd7ed44 100644 --- a/test/suite/commands.test.ts +++ b/test/suite/commands.test.ts @@ -689,7 +689,7 @@ describe("dataSourceCommand2", () => { dummyFileContent.dataSource.selectedType = DataSourceTypes.API; getMetaStub.resolves(dummyMeta); getDataInsightsStub.resolves({ arrayBuffer: ab, error: "" }); - isVisibleStub.returns(false); + ext.isResultsTabVisible = false; await dataSourceCommand.runDataSource( dummyFileContent as DataSourceFiles, insightsConn.connLabel, @@ -708,7 +708,7 @@ describe("dataSourceCommand2", () => { dummyFileContent.dataSource.selectedType = DataSourceTypes.SQL; getMetaStub.resolves(dummyMeta); getDataInsightsStub.resolves({ arrayBuffer: ab, error: "" }); - isVisibleStub.returns(false); + ext.isResultsTabVisible = false; await dataSourceCommand.runDataSource( dummyFileContent as DataSourceFiles, insightsConn.connLabel,