domjtalbot/nx-mesh

View on GitHub
packages/nx-mesh/src/generators/base/lib/add-jest.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function addJest has 46 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export async function addJest(host: Tree, options: NormalizedOptions) {
  if (options.unitTestRunner !== 'jest') {
    // eslint-disable-next-line @typescript-eslint/no-empty-function
    return () => {};
  }
Severity: Minor
Found in packages/nx-mesh/src/generators/base/lib/add-jest.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status