💄 integration tests

This commit is contained in:
Benjamin Pasero
2018-09-24 15:10:13 +02:00
parent 3a3284a8e3
commit 7b8c3383f9
3 changed files with 1 additions and 6 deletions

View File

@@ -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');
});
});
});