Aam-Digital/ndb-core

View on GitHub
src/app/utils/mocked-testing.module.ts

Summary

Maintainability
A
1 hr
Test Coverage
B
80%

Function withState has 29 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  static withState(
    loginState = LoginState.LOGGED_IN,
    data: Entity[] = [new User(TEST_USER)],
  ): ModuleWithProviders<MockedTestingModule> {
    environment.session_type = SessionType.mock;
Severity: Minor
Found in src/app/utils/mocked-testing.module.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status