Skip to content

Commit

Permalink
Update flaky test to output better on failure
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-weng committed Nov 28, 2024
1 parent 2cef0ef commit 1fe6189
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ suite("PackageDependencyProvider Test Suite", function () {
const items = await treeProvider.getChildren();

const dep = items.find(n => n.name === "swift-markdown") as PackageNode;
expect(dep).to.not.be.undefined;
expect(dep, `${JSON.stringify(items, null, 2)}`).to.not.be.undefined;
expect(dep?.location).to.equal("https://github.com/swiftlang/swift-markdown.git");
expect(dep?.path).to.equal(
`${testAssetPath("dependencies")}/.build/checkouts/swift-markdown`
Expand Down

0 comments on commit 1fe6189

Please sign in to comment.