Skip to content

Commit 96dfd1b

Browse files
shubh73claude
andcommitted
Drop unrelated cloneTree test
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
1 parent d97c664 commit 96dfd1b

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

‎packages/react-native/ReactCommon/react/renderer/core/tests/ShadowNodeTest.cpp‎

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -463,11 +463,3 @@ TEST_F(ShadowNodeTest, cloneTree) {
463463
EXPECT_EQ(nodeAB_->getChildren().size(), 2);
464464
EXPECT_EQ(nodeAB_->getChildren()[1].get(), nodeABB_.get());
465465
}
466-
467-
TEST_F(ShadowNodeTest, cloneTreeReturnsNullptrWhenFamilyHasNoPathToRoot) {
468-
auto result = nodeA_->cloneTree(
469-
nodeZ_->getFamily(),
470-
[&](const ShadowNode& oldShadowNode) { return oldShadowNode.clone({}); });
471-
472-
EXPECT_EQ(result, nullptr);
473-
}

0 commit comments

Comments
 (0)