mirror of https://github.com/abpframework/abp
				
				
				
			
							parent
							
								
									52cfba01b5
								
							
						
					
					
						commit
						99e54a8080
					
				| @ -1 +1,2 @@ | ||||
| export * from './clear-page.util'; | ||||
| export * from './wait.util'; | ||||
|  | ||||
| @ -0,0 +1,6 @@ | ||||
| import { ComponentFixture } from '@angular/core/testing'; | ||||
| 
 | ||||
| export function wait<T extends any>(fixture: ComponentFixture<T>, timeout = 0) { | ||||
|   fixture.detectChanges(); | ||||
|   return new Promise(res => setTimeout(res, timeout)); | ||||
| } | ||||
					Loading…
					
					
				
		Reference in new issue
	
	 Arman Ozak
						Arman Ozak