diff --git a/src/views/LogView.ts b/src/views/LogView.ts index 048769fe..6e9df971 100644 --- a/src/views/LogView.ts +++ b/src/views/LogView.ts @@ -75,9 +75,6 @@ export class LogView implements WebviewViewProvider { * @param description - represents the log description */ public async createLog(label: OutputLabel, message: string, description?: string): Promise { - // Displays the log panel. Unfortunately it doesn't load immediately so we have to wait for the html to load - this._view?.show?.(true); // `show` is not implemented in 1.49 but is for 1.50 insiders - // Checks if the log panel has already been loaded and is visible if (this._view == null || this._view?.visible === false) { // If it has not yet been loaded, save the log to be executed after loading the log panel diff --git a/test/commands/ProjectCommand.test.ts b/test/commands/ProjectCommand.test.ts index 7b6bb792..398148db 100644 --- a/test/commands/ProjectCommand.test.ts +++ b/test/commands/ProjectCommand.test.ts @@ -709,8 +709,8 @@ describe('ProjectCommands', () => { it('Method getTruffleUnboxCommand should return a value', async () => { // Arrange - const displayName = 'drizzle'; - const repoName = 'drizzle-box'; + const displayName = 'pet-shop'; + const repoName = 'pet-shop-box'; const projectCommandsRewire = rewire('../../src/commands/ProjectCommands'); const getTruffleUnboxCommand = projectCommandsRewire.__get__('getTruffleUnboxCommand'); const showQuickPickMock = sinon.stub(vscode.window, 'showQuickPick');