Skip to content

Refactor deprecated contains method

Illya Klymov requested to merge xanf-remove-wrapper-contains into master

What does this MR do?

.contains will be deprecated in @vue/test-utils 1.x. This MR contains first part of removing this deprecated method from our tests codebase

This MR is pretty huge, but it was generated by extremely simple regexp

wrapper\.contains\(([^)]+)\) ==> wrapper.find($1).exists()

In order to simplify reviewing and merging this I intentionally does not include removal of other .contains

Screenshots

N/A

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Merge request reports