-
Notifications
You must be signed in to change notification settings - Fork 244
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Alpha-0 API #26
Comments
RE: vue-jest we also need to finish the v4 alpha because Vue CLI is an entire major version behind |
Only #2 remains |
Also: are we still unable to merge vue-test-utils-next and vue-test-utils-next-docs due to vuepress version mismatch? I'd like to have them combined very much 🤔 |
We are unable to. You cannot have Vue 2 and Vue 3 installed in the same project or Vuepress will fail to run. We could have a monorepo using lerna. This is easy to set up, if you like I can do it. Alternatively, since I expect Vuepress will move to Vue 3 eventually, but until then use Vuepress + Vue 2 in this repo, and just have a bash script that installed Vue 2, builds Vuepress, for when you are working on docs. |
Or we can have a |
Okay, let's keep it split for now, at least until Vuepress releases a Vue 3-based version :) I believe I'll be able to work on catching docs up during the weekend. |
Sure, lmk if I can help with anything. I'm guessing the minimal we need is a
|
we did it time to prepare for a quiet alpha |
I propose the following API for alpha-0. Progress is tracked here: https://github.com/vuejs/vue-test-utils-next/projects/1
Each of these has a ticket on the project board.
Exported methods
shallowMount
is not required for an alpha.mounting options
VueWrapper
This is intentionally a minimal API. The primary way users will interact with their components is DOMWrapper in alpha.
find
andfindAll
#7DOMWrapper
This is the bulk of the functionality.
find
andfindAll
#7Ecosystem
We will also need to release an alpha-0 for vue-jest. Branch here: https://github.com/vuejs/vue-jest/tree/next. If we don't provide this, people won't be able to test SFCs.
Docs/Other
We should provide some examples on how to do things. We should also make sure it's possible to test things that were previously pain points, or new features:
Nice to have
The text was updated successfully, but these errors were encountered: