Skip to content

Commit f6bb413

Browse files
committed
Revert "test(formatElements): add test case for handling array of elements"
This reverts commit da50696.
1 parent da50696 commit f6bb413

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

packages/react/src/format.test.tsx

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -164,18 +164,4 @@ describe("formatElements", function () {
164164
cleanPrefix(childKeys[1] as string)
165165
)
166166
})
167-
168-
it("should handle array of elements", function () {
169-
const arrayOfElements = [
170-
<span key="1">First</span>,
171-
<span key="2">Second</span>,
172-
]
173-
expect(
174-
html(
175-
formatElements("<0/>", {
176-
0: arrayOfElements as unknown as React.ReactElement,
177-
})
178-
)
179-
).toEqual("<span>First</span><span>Second</span>")
180-
})
181167
})

0 commit comments

Comments
 (0)