chore: fix resolveAsset test typing
This commit is contained in:
		
							parent
							
								
									10ad965100
								
							
						
					
					
						commit
						76a83857c1
					
				@ -7,7 +7,8 @@ import {
 | 
				
			|||||||
  Directive,
 | 
					  Directive,
 | 
				
			||||||
  resolveDynamicComponent,
 | 
					  resolveDynamicComponent,
 | 
				
			||||||
  h,
 | 
					  h,
 | 
				
			||||||
  serializeInner
 | 
					  serializeInner,
 | 
				
			||||||
 | 
					  createVNode
 | 
				
			||||||
} from '@vue/runtime-test'
 | 
					} from '@vue/runtime-test'
 | 
				
			||||||
import { mockWarn } from '@vue/shared'
 | 
					import { mockWarn } from '@vue/shared'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -134,7 +135,7 @@ describe('resolveAssets', () => {
 | 
				
			|||||||
      const Root = {
 | 
					      const Root = {
 | 
				
			||||||
        setup() {
 | 
					        setup() {
 | 
				
			||||||
          return () => {
 | 
					          return () => {
 | 
				
			||||||
            return h(resolveDynamicComponent('div') as string, null, {
 | 
					            return createVNode(resolveDynamicComponent('div') as string, null, {
 | 
				
			||||||
              default: () => 'hello'
 | 
					              default: () => 'hello'
 | 
				
			||||||
            })
 | 
					            })
 | 
				
			||||||
          }
 | 
					          }
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user