testing-library / vue-testing-library

🦎 Simple and complete Vue.js testing utilities that encourage good testing practices.
http://testing-library.com/vue
MIT License
1.07k stars 111 forks source link

VTL for Vue 3: expose the RenderOptions type #224

Closed sand4rt closed 3 years ago

sand4rt commented 3 years ago

I would like the RenderOptios type to be exposed so i can create a typed DeepPartial<RenderOptios> prop on my factory function. Example: https://lmiller1990.github.io/vue-testing-handbook/components-with-props.html#refactor-with-a-factory-function

index.d.ts, line 45:

export type RenderOptions = VueTestingLibraryRenderOptions &
  VueTestUtilsRenderOptions
afontcu commented 3 years ago

Hi! Sure, looks like a sensible request. Fancy to open up a PR?

sand4rt commented 3 years ago

Awesome! Yeah sure i'll create a PR

afontcu commented 3 years ago

Hi! you might need to fork the repo and submit a PR from repository to repository, instead of branch to branch

github-actions[bot] commented 3 years ago

:tada: This issue has been resolved in version 6.4.2 :tada:

The release is available on:

Your semantic-release bot :package::rocket: