mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-25 03:06:31 -05:00
fix: missing key error in html-to-react.spec.tsx
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
This commit is contained in:
parent
391559bec4
commit
8402ef13f3
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ describe('HTML to React', () => {
|
||||||
parserOptions={{
|
parserOptions={{
|
||||||
transform: () => {
|
transform: () => {
|
||||||
transformerVisited = true
|
transformerVisited = true
|
||||||
return <p>Hijacked!</p>
|
return <p key={1}>Hijacked!</p>
|
||||||
},
|
},
|
||||||
preprocessNodes: (document) => {
|
preprocessNodes: (document) => {
|
||||||
preprocessNodesVisited = true
|
preprocessNodesVisited = true
|
||||||
|
|
Loading…
Reference in a new issue