We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b59a24c commit c6e2b88Copy full SHA for c6e2b88
test/sibling.test.js
@@ -1,5 +1,5 @@
1
import * as React from "react"
2
-import {Text} from "react-native"
+import {Text, Animated} from "react-native"
3
import renderer from 'react-test-renderer'
4
import WrapperComponent from "../src/WrapperComponent"
5
import Sibling from "../src/Sibling"
@@ -78,4 +78,15 @@ test(`can not append when unmount`, () => {
78
<Text>hello</Text>
79
);
80
expect(component.toJSON()).toMatchSnapshot();
81
-});
+});
82
+
83
+// test(`append Animated.Text`, () => {
84
+// const component = renderer.create(
85
+// <WrapperComponent>
86
+// </WrapperComponent>
87
+// );
88
+// Sibling.append(
89
+// <Animated.Text>Animated Text</Animated.Text>
90
91
+// expect(component.toJSON()).toMatchSnapshot();
92
+// });
0 commit comments