It is often desirable to integration test Vue components in isolation. The Vue community has settled for vue-test-utils (hereinafter: VTU) as a convenient wrapper for the repetitive creation of app wrappers for such testing. Thus far, we've been using Jest for such tests, which has served us well, but can have issues in some cases:
- Jest runs tests in jsdom rather than an actual browser. This can occasionally lead to problems with certain components, e.g. at the time of writing, the Popover component in Codex cannot be integration tested in Jest + jsdom due to a dependency crashing with infinite recursion.
- Jest is unable to load ResourceLoader modules (T390639).
It would be good to have the opportunity to test Vue components using the existing QUnit-based test runner in addition to Jest.