Commits
Yury Bondarenko authored a11be65f950
1 - | import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing'; |
2 1 | import { NO_ERRORS_SCHEMA } from '@angular/core'; |
3 - | |
4 - | import { of } from 'rxjs'; |
5 - | import { NgbAccordionModule, NgbNavModule } from '@ng-bootstrap/ng-bootstrap'; |
2 + | import { |
3 + | ComponentFixture, |
4 + | TestBed, |
5 + | waitForAsync, |
6 + | } from '@angular/core/testing'; |
7 + | import { |
8 + | NgbAccordionModule, |
9 + | NgbNavModule, |
10 + | } from '@ng-bootstrap/ng-bootstrap'; |
6 11 | import { TranslateModule } from '@ngx-translate/core'; |
12 + | import { of } from 'rxjs'; |
7 13 | |
8 - | import { BulkAccessBrowseComponent } from './bulk-access-browse.component'; |
14 + | import { buildPaginatedList } from '../../../core/data/paginated-list.model'; |
15 + | import { PageInfo } from '../../../core/shared/page-info.model'; |
9 16 | import { SelectableListService } from '../../../shared/object-list/selectable-list/selectable-list.service'; |
10 17 | import { SelectableObject } from '../../../shared/object-list/selectable-list/selectable-list.service.spec'; |
11 - | import { PageInfo } from '../../../core/shared/page-info.model'; |
12 - | import { buildPaginatedList } from '../../../core/data/paginated-list.model'; |
13 18 | import { createSuccessfulRemoteDataObject } from '../../../shared/remote-data.utils'; |
19 + | import { BulkAccessBrowseComponent } from './bulk-access-browse.component'; |
14 20 | |
15 21 | describe('BulkAccessBrowseComponent', () => { |
16 22 | let component: BulkAccessBrowseComponent; |
17 23 | let fixture: ComponentFixture<BulkAccessBrowseComponent>; |
18 24 | |
19 25 | const listID1 = 'id1'; |
20 26 | const value1 = 'Selected object'; |
21 27 | const value2 = 'Another selected object'; |
22 28 | |
23 29 | const selected1 = new SelectableObject(value1); |