login_test.tsx (246B)
1 import {render} from '@testing-library/react'; 2 import Login from '../pages/users/login'; 3 4 describe('/users/login', () => { 5 it('renders correctly', () => { 6 const {container} = render(<Login/>) 7 expect(container).toMatchSnapshot() 8 }) 9 })