support non-latin characters in matches-path

This commit is contained in:
Anton Lazarev
2025-05-22 21:49:40 -07:00
parent 5d03c4ae86
commit eded7f1027
3 changed files with 21 additions and 6 deletions
+7
View File
@@ -288,6 +288,13 @@ const classes = (expectedClasses) =>
<p data-expect="visible">Should not be hidden</p>
</div>
<div class="positive-unicode-case">
<h2><code>:matches-path</code>: positive unicode case</h2>
<p class="odd" data-expect="hidden">Should be hidden</p>
<p class="even" data-expect="visible">Should not be hidden</p>
<p data-expect="visible">Should not be hidden</p>
</div>
<div class="negative-case">
<h2><code>:matches-path</code>: negative case</h2>
<p class="odd" data-expect="visible">Should not be hidden</p>