mirror of
https://github.com/kremalicious/portfolio.git
synced 2024-12-22 17:23:22 +01:00
update tests
This commit is contained in:
parent
7f0bc94dad
commit
ba49dde985
@ -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')
|
||||
|
||||
|
@ -27,6 +27,6 @@ describe('ThemeSwitch', () => {
|
||||
|
||||
theme = 'system'
|
||||
const icon3 = getIconName(theme)
|
||||
expect(icon3).toBe('Monitor')
|
||||
expect(icon3).toBe('Contrast')
|
||||
})
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user