Skip to content

Commit c4e3c03

Browse files
authored
Try to renable expectation for plugin output (#1645)
* Try to renable expectation for plugin output Issue: #1554 * Revert debugging
1 parent 180c5b9 commit c4e3c03

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

test/integration-tests/tasks/SwiftPluginTaskProvider.test.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,11 @@ import {
2424
folderInRootWorkspace,
2525
updateSettings,
2626
} from "../utilities/testutilities";
27-
import { executeTaskAndWaitForResult, waitForEndTaskProcess } from "../../utilities/tasks";
27+
import {
28+
cleanOutput,
29+
executeTaskAndWaitForResult,
30+
waitForEndTaskProcess,
31+
} from "../../utilities/tasks";
2832
import { mutable } from "../../utilities/types";
2933
import { SwiftExecution } from "../../../src/tasks/SwiftExecution";
3034
import { SwiftTask } from "../../../src/tasks/SwiftTaskProvider";
@@ -209,11 +213,7 @@ suite("SwiftPluginTaskProvider Test Suite", function () {
209213
);
210214
const { exitCode, output } = await executeTaskAndWaitForResult(task);
211215
expect(exitCode, output).to.equal(0);
212-
// TODO figure out why the output is '' intermittently
213-
// it seems like the task is being copied by any of the
214-
// vscode.tasks event emitters so executeTaskAndWaitForResult
215-
// captures no output
216-
// expect(cleanOutput(output)).to.include("Hello, World!");
216+
expect(cleanOutput(output)).to.include("Hello, World!");
217217
});
218218

219219
test("Exit code on failure", async () => {

0 commit comments

Comments
 (0)