Skip to content

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

chore: files changed app/src/components/ui/Alert.test.tsx

Steven Enamakel486ed76102fd
diff --git a/app/src/components/ui/Alert.test.tsx b/app/src/components/ui/Alert.test.tsx
index 6f974d32d9..7d2a7e8016 100644
--- a/app/src/components/ui/Alert.test.tsx
+++ b/app/src/components/ui/Alert.test.tsx
@@ -233,13 +233,18 @@ describe('Alert', () => {
</Alert>
);
- expect(screen.getByTestId('description').className).toContain('text-sm');
+ // Byte-identical to what the primitive emitted before `density` existed.
+ expect(screen.getByTestId('description').className).toBe(
+ 'text-sm leading-relaxed opacity-90'
+ );
});
it('leaves a standalone description at text-sm', () => {
render(<AlertDescription data-testid="description">Description</AlertDescription>);
- expect(screen.getByTestId('description').className).toContain('text-sm');
+ expect(screen.getByTestId('description').className).toBe(
+ 'text-sm leading-relaxed opacity-90'
+ );
});
it('lets a description className win over the inherited density', () => {