Change visitUrl checks in URL
What does this MR do?
In @vue/test-utils
beta.30 e.metaKey
for keydown
event is properly gathered to be false. Since e.metaKey
is passed as second argument to visitUrl
that means we will have it as undefined
in current version of @vue/test-utils
and false
in new one. As we want our spec to be compatible with both versions we're changing our test to support both undefined
and false
as second argument
Closes #191310 (closed)
Edited by Illya Klymov