parent
e3831ee39c
commit
5094cf079e
|
@ -280,4 +280,13 @@ suite('window namespace tests', () => {
|
|||
// This should not throw an exception
|
||||
terminal.sendText('echo "foo"');
|
||||
});
|
||||
|
||||
test('onDidCloseTerminal, event fires when terminal is disposed', (done) => {
|
||||
var terminal = window.createTerminal();
|
||||
window.onDidCloseTerminal((eventTerminal) => {
|
||||
assert.equal(terminal, eventTerminal);
|
||||
done();
|
||||
});
|
||||
terminal.dispose();
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue