(textDirection: Direction = 'ltr')
| 59 | const ctrlClick = async (target: HTMLElement) => await clickHelper(target, {ctrlKey: true}); |
| 60 | |
| 61 | async function setupTestTree(textDirection: Direction = 'ltr') { |
| 62 | TestBed.configureTestingModule({ |
| 63 | providers: [provideFakeDirectionality(textDirection)], |
| 64 | }); |
| 65 | |
| 66 | fixture = TestBed.createComponent(TestTreeComponent); |
| 67 | testComponent = fixture.componentInstance; |
| 68 | |
| 69 | await fixture.whenStable(); |
| 70 | defineTestVariables(); |
| 71 | } |
| 72 | |
| 73 | function defineTestVariables() { |
| 74 | const treeDebugElement = fixture.debugElement.query(By.directive(Tree)); |
no test coverage detected
searching dependent graphs…