mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-24 12:19:20 +00:00
Disable flaky task tests (#256249)
See https://github.com/microsoft/vscode/issues/227367
This commit is contained in:
@@ -39,17 +39,17 @@ export function setup(options?: { skipSuite: boolean }) {
|
|||||||
await task.configureTask({ type, command, label });
|
await task.configureTask({ type, command, label });
|
||||||
await task.assertTasks(label, [{ label }], 'run');
|
await task.assertTasks(label, [{ label }], 'run');
|
||||||
});
|
});
|
||||||
(options?.skipSuite ? it.skip : it)('icon - icon only', async () => {
|
(options?.skipSuite ? it.skip : it.skip)('icon - icon only', async () => {
|
||||||
const config = { label, type, command, icon: { id: "lightbulb" } };
|
const config = { label, type, command, icon: { id: "lightbulb" } };
|
||||||
await task.configureTask(config);
|
await task.configureTask(config);
|
||||||
await task.assertTasks(label, [config], 'run');
|
await task.assertTasks(label, [config], 'run');
|
||||||
});
|
});
|
||||||
(options?.skipSuite ? it.skip : it)('icon - color only', async () => {
|
(options?.skipSuite ? it.skip : it.skip)('icon - color only', async () => {
|
||||||
const config = { label, type, command, icon: { color: "terminal.ansiRed" } };
|
const config = { label, type, command, icon: { color: "terminal.ansiRed" } };
|
||||||
await task.configureTask(config);
|
await task.configureTask(config);
|
||||||
await task.assertTasks(label, [{ label, type, command, icon: { color: "Red" } }], 'run');
|
await task.assertTasks(label, [{ label, type, command, icon: { color: "Red" } }], 'run');
|
||||||
});
|
});
|
||||||
(options?.skipSuite ? it.skip : it)('icon - icon & color', async () => {
|
(options?.skipSuite ? it.skip : it.skip)('icon - icon & color', async () => {
|
||||||
const config = { label, type, command, icon: { id: "lightbulb", color: "terminal.ansiRed" } };
|
const config = { label, type, command, icon: { id: "lightbulb", color: "terminal.ansiRed" } };
|
||||||
await task.configureTask(config);
|
await task.configureTask(config);
|
||||||
await task.assertTasks(label, [{ label, type, command, icon: { id: "lightbulb", color: "Red" } }], 'run');
|
await task.assertTasks(label, [{ label, type, command, icon: { id: "lightbulb", color: "Red" } }], 'run');
|
||||||
|
|||||||
Reference in New Issue
Block a user