mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-18 22:57:38 +01:00
Merge pull request #9835 from AllForNothing/scanner-ut
Fix UT bug for scanner component
This commit is contained in:
commit
5fa47dd9fd
@ -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>;
|
||||
|
Loading…
Reference in New Issue
Block a user