removed unused code / comments

This commit is contained in:
ogerly 2022-05-04 12:11:01 +02:00
parent aa573bee21
commit ad34f105fa
3 changed files with 0 additions and 49 deletions

View File

@ -40,7 +40,6 @@ export default {
.carousel {
position: relative;
height: 100%;
/*border-radius: 0% 50% 70% 0%/50% 70% 70% 50%;*/
}
.carousel-inner {
height: 100%;

View File

@ -51,14 +51,6 @@ describe('ForgotPassword', () => {
expect(wrapper.find('div.forgot-password').exists()).toBeTruthy()
})
// it('has a title', () => {
// expect(wrapper.find('h1').text()).toEqual('settings.password.reset')
// })
// it('has a subtitle', () => {
// expect(wrapper.find('p.text-lead').text()).toEqual('settings.password.subtitle')
// })
describe('back button', () => {
it('has a "back" button', () => {
expect(wrapper.findComponent(RouterLinkStub).text()).toEqual('back')
@ -161,15 +153,5 @@ describe('ForgotPassword', () => {
})
})
})
// describe('comingFrom login', () => {
// beforeEach(() => {
// wrapper = Wrapper(createMockObject('resetPassword'))
// })
// it('has another subtitle', () => {
// expect(wrapper.find('p.text-lead').text()).toEqual('settings.password.resend_subtitle')
// })
// })
})
})

View File

@ -63,42 +63,12 @@ describe('Login', () => {
expect(wrapper.find('div.login-form').exists()).toBeTruthy()
})
// describe('Login header', () => {
// it('has a welcome message', () => {
// expect(wrapper.find('div.header').text()).toBe('site.login.heading site.login.community')
// })
// })
// it('has a Community name', () => {
// expect(wrapper.find('.test-communitydata b').text()).toBe('Gradido Entwicklung')
// })
// it('has a Community description', () => {
// expect(wrapper.find('.test-communitydata p').text()).toBe(
// 'Die lokale Entwicklungsumgebung von Gradido.',
// )
// })
describe('links', () => {
it('has a link "Forgot Password"', () => {
expect(wrapper.findAllComponents(RouterLinkStub).at(0).text()).toEqual(
'settings.password.forgot_pwd',
)
})
// it('links to /forgot-password when clicking "Forgot Password"', () => {
// expect(wrapper.findAllComponents(RouterLinkStub).at(0).props().to).toBe('/forgot-password')
// })
// it('has a link "Create new account"', () => {
// expect(wrapper.findAllComponents(RouterLinkStub).at(1).text()).toEqual(
// 'site.login.new_wallet',
// )
// })
// it('links to /register when clicking "Create new account"', () => {
// expect(wrapper.findAllComponents(RouterLinkStub).at(1).props().to).toBe('/register')
// })
})
describe('Login form', () => {