Fix broken RegisterForm.test.tsx
This commit is contained in:
parent
637b51382a
commit
0af4aa9554
@ -27,7 +27,12 @@ describe('RegisterForm', () => {
|
|||||||
|
|
||||||
describe('submit', () => {
|
describe('submit', () => {
|
||||||
|
|
||||||
const data = {username: 'user', password: 'pass'}
|
const data = {
|
||||||
|
username: 'user',
|
||||||
|
password: 'pass',
|
||||||
|
firstName: '',
|
||||||
|
lastName: '',
|
||||||
|
}
|
||||||
const onSuccess = jest.fn()
|
const onSuccess = jest.fn()
|
||||||
let node: Element
|
let node: Element
|
||||||
let component: React.Component
|
let component: React.Component
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user