Fix tests to prepare for @vue/test-utils update
What does this MR do?
This MR updates our tests so @vue/test-utils
could be updated to 1.0.beta.30
. This suite is also compatible with our current version of @vue/test-utils
, so we have an opportunity to review changes in our tests separately to version updates & snapshot updates.
Most of the changes are related to:
-
setData
,setProps
and other things requirenextTick
to update component - stubbing of components now works "correctly" - so when you do
{stubs: GlTable}
and use shallowMount -GlTable
is executed, but underlying componentBTable
will be stubbed in.beta.30
, which is not the case for our version - for such testsshallowMount
was replaced bymount