apps/codelab/src/app/shared/helpers/helpers.ts
File helpers.ts
has 322 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
import { FileConfig } from '../interfaces/file-config';
function exerciseWithConsoleLog(moduleName: string, code: any, code2: any) {
return {
...exercise(moduleName, code, code2),
Function boxAndCircle
has 67 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export function boxAndCircle() {
const moduleCode = `import {BrowserModule} from \'@angular/platform-browser\';
import {NgModule} from '@angular/core';
import {BoxComponent} from './box.component';
import {CircleComponent} from './circle.component';
Function displayAngularComponent
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export function displayAngularComponent(
componentCode: string,
testCode?: string
) {
// tslint:disable-next-line:max-line-length TODO: Clean up next line and remove this comment.