Improve stubs generation for Vue.js 3
What does this MR do and why?
Improve stubs generation for Vue.js 3
- properly gather props/model from mixins
- mimic stub tag naming from @vue/test-utils v1
- replace function props with "[Function]" (like @vue/test-utils v1 do)
Related issue: Port custom snapshot serializer for Vue from gi... (#386757 - closed)
How to set up and validate locally
Run VUE_VERSION=3 yarn --maxWorkers 6
with and without this MR
Reference commit for before
: 723a0da8
Failures | Before | After |
---|---|---|
Tests | 4692 |
|
Suites | 838 |
|
Snapshots | 241 |
|
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Illya Klymov