


























@@ -272,7 +272,7 @@ describe("sessions view", () => {
272272Array.from(thinking?.options ?? [])
273273.find((option) => option.value === "max")
274274?.textContent?.trim(),
275-).toBe("Override: maximum");
275+).toBe("Maximum");
276276277277thinking!.value = "max";
278278thinking!.dispatchEvent(new Event("change", { bubbles: true }));
@@ -303,12 +303,12 @@ describe("sessions view", () => {
303303304304const thinking = container.querySelector("tbody select") as HTMLSelectElement | null;
305305expect(thinking?.value).toBe("");
306-expect(thinking?.options[0]?.textContent?.trim()).toBe("Inherited: adaptive");
306+expect(thinking?.options[0]?.textContent?.trim()).toBe("Inherited: Adaptive");
307307expect(
308308Array.from(thinking?.options ?? [])
309309.find((option) => option.value === "adaptive")
310310?.textContent?.trim(),
311-).toBe("Override: adaptive");
311+).toBe("Adaptive");
312312});
313313314314it("labels inherited thinking from list defaults when lightweight rows omit row defaults", async () => {
@@ -340,9 +340,9 @@ describe("sessions view", () => {
340340341341const thinking = container.querySelector("tbody select") as HTMLSelectElement | null;
342342expect(thinking?.value).toBe("");
343-expect(thinking?.options[0]?.textContent?.trim()).toBe("Inherited: high");
343+expect(thinking?.options[0]?.textContent?.trim()).toBe("Inherited: High");
344344expect(Array.from(thinking?.options ?? []).map((option) => option.textContent?.trim())).toEqual(
345-["Inherited: high", "Off", "Override: high"],
345+["Inherited: High", "Off", "High"],
346346);
347347});
348348@@ -372,7 +372,7 @@ describe("sessions view", () => {
372372Array.from(thinking?.options ?? [])
373373.find((option) => option.value === "low")
374374?.textContent?.trim(),
375-).toBe("Override: on");
375+).toBe("On");
376376377377thinking!.value = "low";
378378thinking!.dispatchEvent(new Event("change", { bubbles: true }));
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。