resources/assets/js/components/auth/LoginForm.spec.ts
Function test
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
protected test () {
it('renders', () => expect(this.render(LoginFrom).html()).toMatchSnapshot())
it('logs in', async () => {
expect((await this.submitForm(this.mock(authService, 'login'))).emitted().loggedin).toBeTruthy()