Rename runInBackground to hideFromUser

See #75278
This commit is contained in:
Daniel Imms
2019-06-25 10:53:30 -07:00
parent 90b3c0ad5b
commit 3ce04754ad
10 changed files with 29 additions and 16 deletions

View File

@@ -738,8 +738,8 @@ suite('window namespace tests', () => {
terminal1.show();
});
test('runInBackground terminal: onDidWriteData should work', done => {
const terminal = window.createTerminal({ name: 'bg', runInBackground: true });
test('hideFromUser terminal: onDidWriteData should work', done => {
const terminal = window.createTerminal({ name: 'bg', hideFromUser: true });
let data = '';
terminal.onDidWriteData(e => {
data += e;
@@ -751,8 +751,8 @@ suite('window namespace tests', () => {
terminal.sendText('foo');
});
test('runInBackground terminal: should be available to terminals API', done => {
const terminal = window.createTerminal({ name: 'bg', runInBackground: true });
test('hideFromUser terminal: should be available to terminals API', done => {
const terminal = window.createTerminal({ name: 'bg', hideFromUser: true });
window.onDidOpenTerminal(t => {
assert.equal(t, terminal);
assert.equal(t.name, 'bg');