Skip to content

Commit c3a1189

Browse files
chore(tests): cleanup
1 parent 425b6bd commit c3a1189

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/fiber/tests/renderer.test.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -470,7 +470,7 @@ describe('renderer', () => {
470470
expect(scene.children.length).toBe(0)
471471
expect(scene.userData.objects.map((o: THREE.Object3D) => o.name)).toStrictEqual(array.map((o) => o.name))
472472

473-
const reversedArray = [...array.reverse()]
473+
const reversedArray = [d, c, b, a]
474474
await act(async () => root.render(<Test array={reversedArray} />))
475475
expect(scene.children.length).toBe(0)
476476
expect(scene.userData.objects.map((o: THREE.Object3D) => o.name)).toStrictEqual(reversedArray.map((o) => o.name))

0 commit comments

Comments
 (0)