mirror of https://github.com/microsoft/vscode.git
clean up after test (#147941)
This commit is contained in:
parent
1206d80f56
commit
280460e3cc
|
@ -32,10 +32,12 @@ import { assertNoRpc, poll } from '../utils';
|
|||
suite('Terminal', () => {
|
||||
let disposables: Disposable[] = [];
|
||||
|
||||
teardown(() => {
|
||||
teardown(async () => {
|
||||
assertNoRpc();
|
||||
disposables.forEach(d => d.dispose());
|
||||
disposables.length = 0;
|
||||
const config = workspace.getConfiguration('terminal.integrated');
|
||||
await config.update('shellIntegration.enabled', undefined);
|
||||
});
|
||||
|
||||
test('sendText immediately after createTerminal should not throw', async () => {
|
||||
|
|
Loading…
Reference in New Issue