mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
linting
This commit is contained in:
parent
ee250451eb
commit
dbb583e958
@ -50,23 +50,23 @@ describe('Login', () => {
|
|||||||
|
|
||||||
describe('links', () => {
|
describe('links', () => {
|
||||||
it('has a link "Forgot Password?"', () => {
|
it('has a link "Forgot Password?"', () => {
|
||||||
expect(wrapper.findAllComponents(RouterLinkStub).at(0).text())
|
expect(wrapper.findAllComponents(RouterLinkStub).at(0).text()).toEqual(
|
||||||
.toEqual('site.login.forgot_pwd')
|
'site.login.forgot_pwd',
|
||||||
|
)
|
||||||
})
|
})
|
||||||
|
|
||||||
it('links to /password when clicking "Forgot Password?"', () => {
|
it('links to /password when clicking "Forgot Password?"', () => {
|
||||||
expect(wrapper.findAllComponents(RouterLinkStub).at(0).props().to)
|
expect(wrapper.findAllComponents(RouterLinkStub).at(0).props().to).toBe('/password')
|
||||||
.toBe('/password')
|
|
||||||
})
|
})
|
||||||
|
|
||||||
it('has a link "Create new account"', () => {
|
it('has a link "Create new account"', () => {
|
||||||
expect(wrapper.findAllComponents(RouterLinkStub).at(1).text())
|
expect(wrapper.findAllComponents(RouterLinkStub).at(1).text()).toEqual(
|
||||||
.toEqual('site.login.new_wallet')
|
'site.login.new_wallet',
|
||||||
|
)
|
||||||
})
|
})
|
||||||
|
|
||||||
it('links to /register when clicking "Create new account"', () => {
|
it('links to /register when clicking "Create new account"', () => {
|
||||||
expect(wrapper.findAllComponents(RouterLinkStub).at(1).props().to)
|
expect(wrapper.findAllComponents(RouterLinkStub).at(1).props().to).toBe('/register')
|
||||||
.toBe('/register')
|
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user