Skip to content

Commit fe84210

Browse files
committed
test(subagents): un-nest pin-parts cases from the custom-endpoint test
The two new pin-parts tests were inserted inside the custom-endpoint case. They pass as nested subtests; keep them as siblings so a later edit cannot accidentally drop the closing brace.
1 parent 543ff8d commit fe84210

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/desktop/test/subagent-models.test.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ test("a custom endpoint uses its display name instead of the generic vendor key"
5656
subagentModelPin({ vendorKey: "custom", name: "My Gateway" }, "local-model"),
5757
"My Gateway/local-model",
5858
);
59+
});
5960

6061
test("every option the picker offers is a pin the editor will save", () => {
6162
// A custom endpoint's display name contains spaces, and the picker offers it.
@@ -96,7 +97,6 @@ test("a pin needs a provider half, a model half, and keeps its own slashes", ()
9697
assert.equal(subagentModelPinParts("/claude-haiku-4-5"), null);
9798
assert.equal(subagentModelPinParts("anthropic/"), null);
9899
});
99-
});
100100

101101
test("the sheet lists configured models from enabled, credentialed providers", () => {
102102
const choices = subagentModelChoices([

0 commit comments

Comments
 (0)