mirror of
				https://github.com/microsoft/playwright.git
				synced 2025-06-26 21:40:17 +00:00 
			
		
		
		
	fix(ct): optional hooksConfig mount option (#15921)
This commit is contained in:
		
							parent
							
								
									9ce727c936
								
							
						
					
					
						commit
						c11f594c29
					
				
							
								
								
									
										4
									
								
								packages/playwright-ct-svelte/index.d.ts
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								packages/playwright-ct-svelte/index.d.ts
									
									
									
									
										vendored
									
									
								
							@ -39,13 +39,13 @@ interface ComponentFixtures {
 | 
			
		||||
    props?: { [key: string]: any },
 | 
			
		||||
    slots?: { [key: string]: any },
 | 
			
		||||
    on?: { [key: string]: Function },
 | 
			
		||||
    hooksConfig: any,
 | 
			
		||||
    hooksConfig?: any,
 | 
			
		||||
  }): Promise<Locator>;
 | 
			
		||||
  mount<Props>(component: any, options: {
 | 
			
		||||
    props: Props,
 | 
			
		||||
    slots?: { [key: string]: any },
 | 
			
		||||
    on?: { [key: string]: Function },
 | 
			
		||||
    hooksConfig: any,
 | 
			
		||||
    hooksConfig?: any,
 | 
			
		||||
  }): Promise<Locator>;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										4
									
								
								packages/playwright-ct-vue2/index.d.ts
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								packages/playwright-ct-vue2/index.d.ts
									
									
									
									
										vendored
									
									
								
							@ -40,13 +40,13 @@ export interface ComponentFixtures {
 | 
			
		||||
    props?: { [key: string]: any },
 | 
			
		||||
    slots?: { [key: string]: any },
 | 
			
		||||
    on?: { [key: string]: Function },
 | 
			
		||||
    hooksConfig: any,
 | 
			
		||||
    hooksConfig?: any,
 | 
			
		||||
  }): Promise<Locator>;
 | 
			
		||||
  mount<Props>(component: any, options: {
 | 
			
		||||
    props: Props,
 | 
			
		||||
    slots?: { [key: string]: any },
 | 
			
		||||
    on?: { [key: string]: Function },
 | 
			
		||||
    hooksConfig: any,
 | 
			
		||||
    hooksConfig?: any,
 | 
			
		||||
  }): Promise<Locator>;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user