mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-20 00:28:52 +01:00
💄 integration tests
This commit is contained in:
@@ -698,12 +698,10 @@ suite('window namespace tests', () => {
|
||||
|
||||
test('onDidChangeActiveTerminal should fire when new terminals are created', (done) => {
|
||||
const reg1 = window.onDidChangeActiveTerminal((active: Terminal | undefined) => {
|
||||
console.log('!!!!!!!!!!!!!!!ONE');
|
||||
assert.equal(active, terminal);
|
||||
assert.equal(active, window.activeTerminal);
|
||||
reg1.dispose();
|
||||
const reg2 = window.onDidChangeActiveTerminal((active: Terminal | undefined) => {
|
||||
console.log('!!!!!!!!!!!!!!!TWO');
|
||||
assert.equal(active, undefined);
|
||||
assert.equal(active, window.activeTerminal);
|
||||
reg2.dispose();
|
||||
@@ -713,8 +711,6 @@ suite('window namespace tests', () => {
|
||||
});
|
||||
const terminal = window.createTerminal();
|
||||
terminal.show();
|
||||
console.log('!!!!!!!!!!!!!!!THREE');
|
||||
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user