fix(auth): add missing onRegisterChange prop to test
This commit is contained in:
@@ -13,7 +13,7 @@ function renderForm(isRegister: boolean) {
|
||||
return render(
|
||||
<QueryClientProvider client={qc}>
|
||||
<MemoryRouter>
|
||||
<AuthPasswordForm isRegister={isRegister} onSuccess={onSuccess} />
|
||||
<AuthPasswordForm isRegister={isRegister} onRegisterChange={vi.fn()} onSuccess={onSuccess} />
|
||||
</MemoryRouter>
|
||||
</QueryClientProvider>,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user