mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-24 12:19:20 +00:00
rm test
This commit is contained in:
@@ -99,15 +99,6 @@ suite('Workbench - TerminalStatusList', () => {
|
|||||||
deepStrictEqual(result, { id: 'test', severity: Severity.Info });
|
deepStrictEqual(result, { id: 'test', severity: Severity.Info });
|
||||||
});
|
});
|
||||||
|
|
||||||
// test('onDidChangePrimaryStatus not fired if no icon on new status', async () => {
|
|
||||||
// const result = await new Promise<ITerminalStatus | undefined>(r => {
|
|
||||||
// list.add({ id: 'warning', severity: Severity.Warning, icon: Codicon.warning });
|
|
||||||
// store.add(list.onDidChangePrimaryStatus(r));
|
|
||||||
// list.add({ id: 'test', severity: Severity.Info });
|
|
||||||
// });
|
|
||||||
// deepStrictEqual(result, undefined);
|
|
||||||
// });
|
|
||||||
|
|
||||||
test('onDidChangePrimaryStatus fired if icon on new status', async () => {
|
test('onDidChangePrimaryStatus fired if icon on new status', async () => {
|
||||||
const result = await new Promise<ITerminalStatus | undefined>(r => {
|
const result = await new Promise<ITerminalStatus | undefined>(r => {
|
||||||
list.add({ id: 'test', severity: Severity.Info });
|
list.add({ id: 'test', severity: Severity.Info });
|
||||||
|
|||||||
Reference in New Issue
Block a user