Skip to content

Replace deprecated `.is`

Illya Klymov requested to merge xanf-replace-is into master

What does this MR do?

.is will be deprecated in @vue/test-utils 1.x. Authors of VTU suggest replacing it with matching against tag name, but .is has another important piece of functionality - checking against component class.

This MR introduces new custom matcher .toBeVueInstanceOf and replaces remaining .is invocations with this custom matcher as a part of preparing of our upgrade (see &4255 (closed) and &3856 (closed) for details)

Screenshots

N/A

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Merge request reports