Skip to content

Commit 5f7ab25

Browse files
committed
Fixed test errors
1 parent 2ea452b commit 5f7ab25

File tree

2 files changed

+135
-313
lines changed

2 files changed

+135
-313
lines changed

src/pages/Login/Login.test.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,11 @@ import { Redirect } from 'react-router-dom';
44
import paths from '../Router/paths';
55
import Login from '.';
66

7+
jest.mock('react-firebaseui');
8+
79
describe('<Login /> rendering', () => {
810
it('should render without crashing', () => {
9-
const { component } = mountWithProviders(<Login />)({
11+
const { component } = shallowWithProviders(<Login />)({
1012
auth: {
1113
userData: {},
1214
},

0 commit comments

Comments
 (0)