Fix broken RegisterForm.test.tsx

This commit is contained in:
Jerko Steiner 2019-03-22 14:46:09 +08:00
parent 637b51382a
commit 0af4aa9554

View File

@ -27,7 +27,12 @@ describe('RegisterForm', () => {
describe('submit', () => {
const data = {username: 'user', password: 'pass'}
const data = {
username: 'user',
password: 'pass',
firstName: '',
lastName: '',
}
const onSuccess = jest.fn()
let node: Element
let component: React.Component