mirror of
https://github.com/fsolla/teqo.git
synced 2026-11-19 17:13:07 +00:00
Fix vote estimate compact highlight test assertion
Co-authored-by: Francisco Solla <fsolla@users.noreply.github.com>
This commit is contained in:
parent
a52a622ba5
commit
ef4cef8c4c
1 changed files with 1 additions and 1 deletions
|
|
@ -57,7 +57,7 @@ describe('VoteEstimateScenarioInputs compact', () => {
|
||||||
|
|
||||||
const optimistic = screen.getByLabelText('Otimista')
|
const optimistic = screen.getByLabelText('Otimista')
|
||||||
expect(optimistic.className).toMatch(/border-destructive/)
|
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')
|
expect(optimistic.getAttribute('aria-invalid')).toBe('true')
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue