Skip to content

Commit

Permalink
Test even deeper nesting
Browse files Browse the repository at this point in the history
  • Loading branch information
plemarquand committed Dec 13, 2024
1 parent 85d6b98 commit dcfe7c4
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions test/integration-tests/testexplorer/TestDiscovery.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ suite("TestDiscovery Suite", () => {
});

test("handles adding a test to an existing parent when updating with a partial tree", () => {
const child = testItem("AppTarget.AppTests/ChildTests");
const child = testItem("AppTarget.AppTests/ChildTests/SubChildTests");

updateTestsForTarget(testController, { id: "AppTarget", label: "AppTarget" }, [child]);

Expand All @@ -176,7 +176,13 @@ suite("TestDiscovery Suite", () => {
{
id: "AppTarget.AppTests/ChildTests",
tags: [{ id: "XCTest" }, { id: "runnable" }],
children: [],
children: [
{
id: "AppTarget.AppTests/ChildTests/SubChildTests",
tags: [{ id: "XCTest" }, { id: "runnable" }],
children: [],
},
],
},
],
},
Expand Down

0 comments on commit dcfe7c4

Please sign in to comment.