Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Philip-Carneiro-KX committed Jul 1, 2024
1 parent 3f458f1 commit 1bede7d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/suite/commands.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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,
Expand Down

0 comments on commit 1bede7d

Please sign in to comment.