From 1a2bc0feb7bd9d203772e26947ea785dee4cfd80 Mon Sep 17 00:00:00 2001 From: Daniel Imms Date: Sat, 13 Jun 2020 12:21:53 -0700 Subject: [PATCH] Try use dom renderer --- .../vscode-api-tests/src/singlefolder-tests/terminal.test.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/extensions/vscode-api-tests/src/singlefolder-tests/terminal.test.ts b/extensions/vscode-api-tests/src/singlefolder-tests/terminal.test.ts index b3c617304d2..6d62d40ec6c 100644 --- a/extensions/vscode-api-tests/src/singlefolder-tests/terminal.test.ts +++ b/extensions/vscode-api-tests/src/singlefolder-tests/terminal.test.ts @@ -22,6 +22,8 @@ import { doesNotThrow, equal, ok, deepEqual, throws } from 'assert'; await config.update('windowsEnableConpty', false, ConfigurationTarget.Global); // Disable exit alerts as tests may trigger then and we're not testing the notifications await config.update('showExitAlert', false, ConfigurationTarget.Global); + // Canvas can cause problems when running in a container + await config.update('rendererType', 'dom', ConfigurationTarget.Global); }); suite('Terminal', () => { @@ -79,6 +81,7 @@ import { doesNotThrow, equal, ok, deepEqual, throws } from 'assert'; TEST: '`' } }); + terminal.show(); doesNotThrow(() => { // Print an environment variable value so the echo statement doesn't get matched if (process.platform === 'win32') { -- GitLab