Skip to content

Commit

Permalink
chore(packages): Update versions to fix warnings in jest
Browse files Browse the repository at this point in the history
  • Loading branch information
iRoachie committed Jan 26, 2018
1 parent 94ab145 commit ad05179
Show file tree
Hide file tree
Showing 10 changed files with 1,788 additions and 743 deletions.
11 changes: 5 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,15 +57,14 @@
"file-loader": "^0.11.1",
"husky": "^0.13.3",
"image-webpack-loader": "^3.3.1",
"jest": "^19.0.2",
"jest": "22.1.4",
"lint-staged": "^3.4.0",
"prettier": "^1.7.4",
"react": "^15.4.2",
"react-addons-test-utils": "^15.6.0",
"react-dom": "^15.4.2",
"react-native": "^0.41.2",
"react": "16.2.0",
"react-dom": "16.2.0",
"react-native": "0.52.2",
"react-native-vector-icons": "^4.4.2",
"react-test-renderer": "^15.6.1",
"react-test-renderer": "16.2.0",
"webpack": "^2.2.1"
},
"peerDependencies": {
Expand Down
14 changes: 14 additions & 0 deletions src/buttons/__tests__/__snapshots__/ButtonGroup.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ exports[`ButtonGroup Component should have onPress event 1`] = `
>
<TouchableHighlight
activeOpacity={0.85}
delayPressOut={100}
disabled={false}
onPress={[Function]}
style={
Expand Down Expand Up @@ -82,6 +83,7 @@ exports[`ButtonGroup Component should have onPress event 1`] = `
</TouchableHighlight>
<TouchableHighlight
activeOpacity={0.85}
delayPressOut={100}
disabled={false}
onPress={[Function]}
style={
Expand Down Expand Up @@ -139,6 +141,7 @@ exports[`ButtonGroup Component should have onPress event 1`] = `
</TouchableHighlight>
<TouchableHighlight
activeOpacity={0.85}
delayPressOut={100}
disabled={false}
onPress={[Function]}
style={
Expand Down Expand Up @@ -217,6 +220,7 @@ exports[`ButtonGroup Component should render lastButtonStyle 1`] = `
>
<TouchableHighlight
activeOpacity={0.85}
delayPressOut={100}
disabled={false}
onPress={[Function]}
style={
Expand Down Expand Up @@ -272,6 +276,7 @@ exports[`ButtonGroup Component should render lastButtonStyle 1`] = `
</TouchableHighlight>
<TouchableHighlight
activeOpacity={0.85}
delayPressOut={100}
disabled={false}
onPress={[Function]}
style={
Expand Down Expand Up @@ -327,6 +332,7 @@ exports[`ButtonGroup Component should render lastButtonStyle 1`] = `
</TouchableHighlight>
<TouchableHighlight
activeOpacity={0.85}
delayPressOut={100}
disabled={false}
onPress={[Function]}
style={
Expand Down Expand Up @@ -404,6 +410,7 @@ exports[`ButtonGroup Component should render selectedIndex 1`] = `
>
<TouchableHighlight
activeOpacity={0.85}
delayPressOut={100}
disabled={false}
onPress={[Function]}
style={
Expand Down Expand Up @@ -459,6 +466,7 @@ exports[`ButtonGroup Component should render selectedIndex 1`] = `
</TouchableHighlight>
<TouchableHighlight
activeOpacity={0.85}
delayPressOut={100}
disabled={false}
onPress={[Function]}
style={
Expand Down Expand Up @@ -522,6 +530,7 @@ exports[`ButtonGroup Component should render selectedIndex 1`] = `
</TouchableHighlight>
<TouchableHighlight
activeOpacity={0.85}
delayPressOut={100}
disabled={false}
onPress={[Function]}
style={
Expand Down Expand Up @@ -598,6 +607,7 @@ exports[`ButtonGroup Component should render with button.element 1`] = `
>
<TouchableHighlight
activeOpacity={0.85}
delayPressOut={100}
disabled={false}
onPress={[Function]}
style={
Expand Down Expand Up @@ -638,6 +648,7 @@ exports[`ButtonGroup Component should render with button.element 1`] = `
</TouchableHighlight>
<TouchableHighlight
activeOpacity={0.85}
delayPressOut={100}
disabled={false}
onPress={[Function]}
style={
Expand Down Expand Up @@ -702,6 +713,7 @@ exports[`ButtonGroup Component should render without issues 1`] = `
>
<TouchableHighlight
activeOpacity={0.85}
delayPressOut={100}
disabled={false}
onPress={[Function]}
style={
Expand Down Expand Up @@ -757,6 +769,7 @@ exports[`ButtonGroup Component should render without issues 1`] = `
</TouchableHighlight>
<TouchableHighlight
activeOpacity={0.85}
delayPressOut={100}
disabled={false}
onPress={[Function]}
style={
Expand Down Expand Up @@ -812,6 +825,7 @@ exports[`ButtonGroup Component should render without issues 1`] = `
</TouchableHighlight>
<TouchableHighlight
activeOpacity={0.85}
delayPressOut={100}
disabled={false}
onPress={[Function]}
style={
Expand Down
6 changes: 3 additions & 3 deletions src/card/__tests__/__snapshots__/Card.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ exports[`Card Component should have Card title with image 1`] = `
</TextElement>
</View>
<View>
<Image
<ImageBackground
source={
Object {
"uri": "https://s3.amazonaws.com/uifaces/faces/twitter/ladylexy/128.jpg",
Expand Down Expand Up @@ -242,7 +242,7 @@ exports[`Card Component should have Card with featured title 1`] = `
}
}
>
<Image
<ImageBackground
source={
Object {
"uri": "https://s3.amazonaws.com/uifaces/faces/twitter/ladylexy/128.jpg",
Expand Down Expand Up @@ -311,7 +311,7 @@ exports[`Card Component should have Card with featured title 1`] = `
featured sub title
</TextElement>
</View>
</Image>
</ImageBackground>
<View
style={
Array [
Expand Down
3 changes: 0 additions & 3 deletions src/checkbox/__tests__/__snapshots__/CheckBox.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
exports[`CheckBox Component should render with icon and checked 1`] = `
<TouchableOpacity
activeOpacity={0.2}
focusedOpacity={0.7}
style={
Array [
Object {
Expand Down Expand Up @@ -49,7 +48,6 @@ exports[`CheckBox Component should render with icon and checked 1`] = `
exports[`CheckBox Component should render with icon and iconRight 1`] = `
<TouchableOpacity
activeOpacity={0.2}
focusedOpacity={0.7}
rigth={true}
style={
Array [
Expand Down Expand Up @@ -96,7 +94,6 @@ exports[`CheckBox Component should render with icon and iconRight 1`] = `
exports[`CheckBox Component should render without issues 1`] = `
<TouchableOpacity
activeOpacity={0.2}
focusedOpacity={0.7}
style={
Array [
Object {
Expand Down
6 changes: 1 addition & 5 deletions src/list/__tests__/__snapshots__/ListItem.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ exports[`ListItem component should render with avatar 1`] = `
<TouchableOpacity
activeOpacity={0.2}
disabled={true}
focusedOpacity={0.7}
style={
Object {
"alignItems": "flex-end",
Expand Down Expand Up @@ -183,7 +182,6 @@ exports[`ListItem component should render with left icon 1`] = `
<TouchableOpacity
activeOpacity={0.2}
disabled={true}
focusedOpacity={0.7}
style={
Object {
"alignItems": "flex-end",
Expand Down Expand Up @@ -264,7 +262,6 @@ exports[`ListItem component should render with left icon component 1`] = `
<TouchableOpacity
activeOpacity={0.2}
disabled={true}
focusedOpacity={0.7}
style={
Object {
"alignItems": "flex-end",
Expand Down Expand Up @@ -409,6 +406,7 @@ exports[`ListItem component should render with textInput 1`] = `
}
>
<TextInput
allowFontScaling={true}
editable={true}
style={
Array [
Expand Down Expand Up @@ -564,7 +562,6 @@ exports[`ListItem component should render with title and subtitle 1`] = `
<TouchableOpacity
activeOpacity={0.2}
disabled={true}
focusedOpacity={0.7}
style={
Object {
"alignItems": "flex-end",
Expand Down Expand Up @@ -636,7 +633,6 @@ exports[`ListItem component should render without issues 1`] = `
<TouchableOpacity
activeOpacity={0.2}
disabled={true}
focusedOpacity={0.7}
style={
Object {
"alignItems": "flex-end",
Expand Down
Loading

0 comments on commit ad05179

Please sign in to comment.