Aam-Digital/ndb-core

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

Summary

Maintainability
A
1 hr
Test Coverage
C
72%

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

  static withState(
    loginState = LoginState.LOGGED_IN,
    data: Entity[] = [createEntityOfType("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