Fe fix karma vue test utils violations
What does this MR do?
Closes #32213 (closed) by fixing violations to the following Karma + vue-test-utils rules:
- Must add
sync: false - Must create
localVueand use this to extend component
Why are these rules needed?
- gitlab-foss#56317 (moved)
-
sync: trueis the default but going away in a later release ofvue-test-utilsbecause it's buggy.
Wait... So why are they needed?
Without these rules, vue-test-utils + Karma causes some non-deterministic unrelated failures that look like forever loops, such as this #32213 (closed).
/cc @pslaughter
Edited by Paul Slaughter