test: fix dts tests for 1ccecc0
This commit is contained in:
		
							parent
							
								
									25a0d4a65f
								
							
						
					
					
						commit
						8c892e0392
					
				@ -249,12 +249,12 @@ describe('type inference w/ options API', () => {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
describe('compatibility w/ createApp', () => {
 | 
					describe('compatibility w/ createApp', () => {
 | 
				
			||||||
  const comp = defineComponent({})
 | 
					  const comp = defineComponent({})
 | 
				
			||||||
  createApp().mount(comp, '#hello')
 | 
					  createApp(comp).mount('#hello')
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  const comp2 = defineComponent({
 | 
					  const comp2 = defineComponent({
 | 
				
			||||||
    props: { foo: String }
 | 
					    props: { foo: String }
 | 
				
			||||||
  })
 | 
					  })
 | 
				
			||||||
  createApp().mount(comp2, '#hello')
 | 
					  createApp(comp2).mount('#hello')
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  const comp3 = defineComponent({
 | 
					  const comp3 = defineComponent({
 | 
				
			||||||
    setup() {
 | 
					    setup() {
 | 
				
			||||||
@ -263,7 +263,7 @@ describe('compatibility w/ createApp', () => {
 | 
				
			|||||||
      }
 | 
					      }
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
  })
 | 
					  })
 | 
				
			||||||
  createApp().mount(comp3, '#hello')
 | 
					  createApp(comp3).mount('#hello')
 | 
				
			||||||
})
 | 
					})
 | 
				
			||||||
 | 
					
 | 
				
			||||||
describe('defineComponent', () => {
 | 
					describe('defineComponent', () => {
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user