mirror of
				https://github.com/microsoft/playwright.git
				synced 2025-06-26 21:40:17 +00:00 
			
		
		
		
	docs(ct): fix component.update example for vue and svelte (#31889)
This commit is contained in:
		
							parent
							
								
									daca1681c0
								
							
						
					
					
						commit
						c9a12e4ca1
					
				| @ -697,7 +697,7 @@ test('update', async ({ mount }) => { | |||||||
| 
 | 
 | ||||||
| ```js | ```js | ||||||
| test('update', async ({ mount }) => { | test('update', async ({ mount }) => { | ||||||
|   const component = await mount(<Component/>); |   const component = await mount(Component); | ||||||
|   await component.update({ |   await component.update({ | ||||||
|     props: { msg: 'greetings' }, |     props: { msg: 'greetings' }, | ||||||
|     on: { callback: () => {} }, |     on: { callback: () => {} }, | ||||||
| @ -711,7 +711,7 @@ test('update', async ({ mount }) => { | |||||||
| 
 | 
 | ||||||
| ```js | ```js | ||||||
| test('update', async ({ mount }) => { | test('update', async ({ mount }) => { | ||||||
|   const component = await mount(<Component/>); |   const component = await mount(Component); | ||||||
|   await component.update({ |   await component.update({ | ||||||
|     props: { msg: 'greetings' }, |     props: { msg: 'greetings' }, | ||||||
|     on: { callback: () => {} }, |     on: { callback: () => {} }, | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Sander
						Sander