update tests

This commit is contained in:
Matthias Kretschmann 2023-02-02 20:14:43 +00:00
parent 7f0bc94dad
commit ba49dde985
Signed by: m
GPG Key ID: 606EEEF3C479A91F
2 changed files with 1 additions and 4 deletions

View File

@ -6,9 +6,6 @@ describe('Icon', () => {
const { container, rerender } = render(<Icon name={'Compass'} />)
expect(container.firstChild.nodeName).toBe('svg')
rerender(<Icon name={'Dribbble'} />)
expect(container.firstChild.nodeName).toBe('svg')
rerender(<Icon name={'Download'} />)
expect(container.firstChild.nodeName).toBe('svg')

View File

@ -27,6 +27,6 @@ describe('ThemeSwitch', () => {
theme = 'system'
const icon3 = getIconName(theme)
expect(icon3).toBe('Monitor')
expect(icon3).toBe('Contrast')
})
})