Disable flaky task tests (#256249)

See https://github.com/microsoft/vscode/issues/227367
This commit is contained in:
Alex Ross
2025-07-16 16:18:29 +02:00
committed by GitHub
parent 8c938d137a
commit 6d8f0ed1c5

View File

@@ -39,17 +39,17 @@ export function setup(options?: { skipSuite: boolean }) {
await task.configureTask({ type, command, label });
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" } };
await task.configureTask(config);
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" } };
await task.configureTask(config);
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" } };
await task.configureTask(config);
await task.assertTasks(label, [{ label, type, command, icon: { id: "lightbulb", color: "Red" } }], 'run');