flowjs/ngx-flow

View on GitHub
projects/ngx-flow/src/lib/helpers/tests/flow-file-mock-factory.ts

Summary

Maintainability
A
1 hr
Test Coverage
A
100%

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

export function flowFileMockFactory(filename: string, overrides?: Partial<flowjs.FlowFile>): flowjs.FlowFile {
  const mocks = {
    flowObj: null as any,
    file: {
      name: filename,
Severity: Minor
Found in projects/ngx-flow/src/lib/helpers/tests/flow-file-mock-factory.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status