Skip to content

Commit c6e2b88

Browse files
committed
test: [ci skip]
1 parent b59a24c commit c6e2b88

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

test/sibling.test.js

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import * as React from "react"
2-
import {Text} from "react-native"
2+
import {Text, Animated} from "react-native"
33
import renderer from 'react-test-renderer'
44
import WrapperComponent from "../src/WrapperComponent"
55
import Sibling from "../src/Sibling"
@@ -78,4 +78,15 @@ test(`can not append when unmount`, () => {
7878
<Text>hello</Text>
7979
);
8080
expect(component.toJSON()).toMatchSnapshot();
81-
});
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

Comments
 (0)