a0fa66e8f5
Co-authored-by: Walid <87608619+WalidKorchi@users.noreply.github.com>
15 lines
397 B
TypeScript
15 lines
397 B
TypeScript
import { render } from '@testing-library/react'
|
|
|
|
import { user, userSettings } from '../../cypress/fixtures/users/user'
|
|
|
|
import { UserProfile } from './UserProfile'
|
|
|
|
describe('<UserProfile />', () => {
|
|
it('should render successfully', () => {
|
|
const { baseElement } = render(
|
|
<UserProfile user={{ ...user, settings: userSettings }} />
|
|
)
|
|
expect(baseElement).toBeTruthy()
|
|
})
|
|
})
|