Merge branch 'master' of https://github.com/goharbor/harbor into fix-immu-error-msg

This commit is contained in:
wang yan 2019-11-12 15:35:13 +08:00
commit f6ec05d18f
2 changed files with 5 additions and 3 deletions

View File

@ -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

View File

@ -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<ScannerComponent>;