packages/nx-mesh/src/generators/base/lib/add-jest.ts
Function addJest
has 46 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export async function addJest(host: Tree, options: NormalizedOptions) {
if (options.unitTestRunner !== 'jest') {
// eslint-disable-next-line @typescript-eslint/no-empty-function
return () => {};
}