resources/assets/js/components/auth/LoginForm.spec.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function test has 36 lines of code (exceeds 25 allowed). Consider refactoring.
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()
Severity: Minor
Found in resources/assets/js/components/auth/LoginForm.spec.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status