mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
Change out commented router test
This commit is contained in:
parent
31dfdc1337
commit
4632e83a47
@ -237,8 +237,11 @@ describe('Login', () => {
|
||||
expect(wrapper.find('.test-message-button').attributes('href')).toBe('/forgot-password')
|
||||
})
|
||||
|
||||
it.skip('click redirects to "/forgot-password"', () => {
|
||||
// expect(mockRouterPush).toBeCalledWith('/thx/login')
|
||||
it.skip('click redirects to "/forgot-password"', async () => {
|
||||
// wrapper.find('.test-message-button').trigger('click')
|
||||
// await flushPromises()
|
||||
// await wrapper.vm.$nextTick()
|
||||
// expect(mockRouterPush).toBeCalledWith('/forgot-password')
|
||||
})
|
||||
|
||||
it('toasts the error message', () => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user