Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

fix(test): reformat assertion for readability

Steven Enamakel5790b5e5cbb1
diff --git a/app/src/components/assistant-ui/thread.activityGroup.test.tsx b/app/src/components/assistant-ui/thread.activityGroup.test.tsx
index f2dafc94e6..9e2c0ead5b 100644
--- a/app/src/components/assistant-ui/thread.activityGroup.test.tsx
+++ b/app/src/components/assistant-ui/thread.activityGroup.test.tsx
@@ -80,7 +80,9 @@ describe('activity group', () => {
const steps = [first, firstTool, second, secondTool];
for (const [current, next] of steps.map((step, index) => [step, steps[index + 1]] as const)) {
if (next) {
- expect(current.compareDocumentPosition(next) & Node.DOCUMENT_POSITION_FOLLOWING).toBeTruthy();
+ expect(
+ current.compareDocumentPosition(next) & Node.DOCUMENT_POSITION_FOLLOWING
+ ).toBeTruthy();
}
}
});