diff --git a/make/photon/portal/Dockerfile b/make/photon/portal/Dockerfile index bc710655e..e7bc0279f 100644 --- a/make/photon/portal/Dockerfile +++ b/make/photon/portal/Dockerfile @@ -20,7 +20,7 @@ COPY src/portal /build_dir RUN ls -la \ && npm run build_lib \ && npm run link_lib \ - && node --max_old_space_size=8192 'node_modules/@angular/cli/bin/ng' build --prod + && node --max_old_space_size=2048 'node_modules/@angular/cli/bin/ng' build --prod FROM photon:2.0 diff --git a/src/portal/src/app/project/scanner/scanner.component.spec.ts b/src/portal/src/app/project/scanner/scanner.component.spec.ts index 4a7ec83ee..3cc5c47aa 100644 --- a/src/portal/src/app/project/scanner/scanner.component.spec.ts +++ b/src/portal/src/app/project/scanner/scanner.component.spec.ts @@ -17,14 +17,16 @@ describe('ScannerComponent', () => { name: 'test1', description: 'just a sample', version: '1.0.0', - url: 'http://168.0.0.1' + url: 'http://168.0.0.1', + health: 'healthy' }; const mockScanner2: Scanner = { uuid: 'def', name: 'test2', description: 'just a sample', version: '2.0.0', - url: 'http://168.0.0.2' + url: 'http://168.0.0.2', + health: 'healthy' }; let component: ScannerComponent; let fixture: ComponentFixture;