pendantator/web/src/components/ThemeChanger/ThemeChanger.test.tsx

15 lines
365 B
TypeScript

import { render } from '@redwoodjs/testing/web'
import ThemeChanger from './ThemeChanger'
// Improve this test with help from the Redwood Testing Doc:
// https://redwoodjs.com/docs/testing#testing-components
describe('ThemeChanger', () => {
it('renders successfully', () => {
expect(() => {
render(<ThemeChanger />)
}).not.toThrow()
})
})