Remove advanced usages of deprecated .contains() method
What does this MR do?
.contains
will be deprecated in @vue/test-utils 1.x
. This MR contains removing of this deprecated method in complex cases
See !40655 (merged) for trivial ones
This MR was mainly generated by extremely simple regexp
([^t])\.contains\(([^)]+)\)
==> $1.find($2).exists()
why [^t]
? Dump way to exclude classList.contains calls. After that tiny manual intervention was performed, all described in code comments
Screenshots
N/A
Does this MR meet the acceptance criteria?
Conformity
- [-] Changelog entry
- [-] Documentation (if required)
-
Code review guidelines -
Merge request performance guidelines -
Style guides - [-] Database guides
- [-] Separation of EE specific content
Availability and Testing
-
Review and add/update tests for this feature/bug. Consider all test levels. See the Test Planning Process. - [-] Tested in all supported browsers
- [-] Informed Infrastructure department of a default or new setting change, if applicable per definition of done
Edited by Illya Klymov