Skip to content

Commit

Permalink
chore: test
Browse files Browse the repository at this point in the history
  • Loading branch information
1uokun committed Aug 2, 2024
1 parent 71ed158 commit 0dd57a5
Show file tree
Hide file tree
Showing 20 changed files with 8,648 additions and 9,183 deletions.
87 changes: 35 additions & 52 deletions components/accordion/__tests__/__snapshots__/demo.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -113,13 +113,22 @@ exports[`renders ./components/accordion/demo/basic.tsx correctly 1`] = `
onLayout={[Function]}
style={Object {}}
>
<View>
<View
style={
Array [
Object {
"backgroundColor": "#f5f5f9",
},
undefined,
]
}
>
<View
style={
Object {
"backgroundColor": "#ffffff",
"borderTopColor": "#dddddd",
"borderTopColor": "#eeeeee",
"borderTopWidth": 0.5,
"position": "relative",
}
}
>
Expand Down Expand Up @@ -166,27 +175,19 @@ exports[`renders ./components/accordion/demo/basic.tsx correctly 1`] = `
]
}
>
<View
<Text
numberOfLines={1}
style={
Object {
"color": "#000000",
"flex": 1,
"flexDirection": "column",
"fontSize": 17,
"textAlignVertical": "center",
}
}
>
<Text
numberOfLines={1}
style={
Object {
"color": "#000000",
"fontSize": 17,
"textAlignVertical": "center",
}
}
>
Content 1
</Text>
</View>
Content 1
</Text>
</View>
</View>
</View>
Expand Down Expand Up @@ -233,27 +234,19 @@ exports[`renders ./components/accordion/demo/basic.tsx correctly 1`] = `
]
}
>
<View
<Text
numberOfLines={1}
style={
Object {
"color": "#000000",
"flex": 1,
"flexDirection": "column",
"fontSize": 17,
"textAlignVertical": "center",
}
}
>
<Text
numberOfLines={1}
style={
Object {
"color": "#000000",
"fontSize": 17,
"textAlignVertical": "center",
}
}
>
Content 2
</Text>
</View>
Content 2
</Text>
</View>
</View>
</View>
Expand Down Expand Up @@ -300,38 +293,28 @@ exports[`renders ./components/accordion/demo/basic.tsx correctly 1`] = `
]
}
>
<View
<Text
numberOfLines={1}
style={
Object {
"color": "#000000",
"flex": 1,
"flexDirection": "column",
"fontSize": 17,
"textAlignVertical": "center",
}
}
>
<Text
numberOfLines={1}
style={
Object {
"color": "#000000",
"fontSize": 17,
"textAlignVertical": "center",
}
}
>
Content 3
</Text>
</View>
Content 3
</Text>
</View>
</View>
</View>
<View
style={
Object {
"backgroundColor": "#ffffff",
"borderBottomColor": "#dddddd",
"borderBottomWidth": 0.5,
"backgroundColor": "#eeeeee",
"bottom": 0,
"height": 1,
"height": 0.5,
"left": 0,
"position": "absolute",
"right": 0,
Expand Down
Loading

0 comments on commit 0dd57a5

Please sign in to comment.