remove warning about missing index during tests

This commit is contained in:
Athou
2025-03-02 15:11:37 +01:00
parent 9d794dcad7
commit 1dcf76fc0a

View File

@@ -80,7 +80,7 @@ class HighlightMatcher extends Matcher {
}
replaceWith(children: ChildrenNode): Node {
return <Mark>{children}</Mark>
return <Mark key={0}>{children}</Mark>
}
asTag(): string {