Fix vote estimate compact highlight test assertion

Co-authored-by: Francisco Solla <fsolla@users.noreply.github.com>
This commit is contained in:
Cursor Agent 2026-08-01 19:01:12 +00:00
parent a52a622ba5
commit ef4cef8c4c
No known key found for this signature in database

View file

@ -57,7 +57,7 @@ describe('VoteEstimateScenarioInputs compact', () => {
const optimistic = screen.getByLabelText('Otimista')
expect(optimistic.className).toMatch(/border-destructive/)
expect(optimistic.className).not.toMatch(/border-primary/)
expect(optimistic.className).not.toMatch(/bg-primary\/5/)
expect(optimistic.getAttribute('aria-invalid')).toBe('true')
})