@xynogen/pix-pretty 1.7.20 → 1.7.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/utils.test.ts +2 -3
- package/src/utils.ts +1 -1
package/package.json
CHANGED
package/src/utils.test.ts
CHANGED
|
@@ -43,9 +43,8 @@ describe("collapsed tool rows", () => {
|
|
|
43
43
|
expect(formatCollapsedToolRow(rowTheme, "read", "src/a.ts", "12 lines")).toBe(
|
|
44
44
|
"✓ read src/a.ts · 12 lines",
|
|
45
45
|
);
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
);
|
|
46
|
+
const rendered = plain(renderCollapsedToolRow(rowTheme, "read", "src/a.ts", "12 lines"));
|
|
47
|
+
expect(rendered).toStartWith("✓ read src/a.ts · 12 lines");
|
|
49
48
|
});
|
|
50
49
|
|
|
51
50
|
it("hides only collapsed, non-expanded call rows", () => {
|
package/src/utils.ts
CHANGED
|
@@ -87,7 +87,7 @@ export function renderCollapsedToolRow(
|
|
|
87
87
|
meta = "",
|
|
88
88
|
status: CollapsedToolStatus = "success",
|
|
89
89
|
): string {
|
|
90
|
-
return fillToolBackground(
|
|
90
|
+
return fillToolBackground(formatCollapsedToolRow(theme, tool, target, meta, status));
|
|
91
91
|
}
|
|
92
92
|
|
|
93
93
|
/** Hide renderCall after its paired result has auto-collapsed. */
|