|
| 1 | +// Jest Snapshot v1, https://goo.gl/fbAQLP |
| 2 | + |
| 3 | +exports[`hides its child if direction is backward 1`] = ` |
| 4 | +<View |
| 5 | + collapsable={false} |
| 6 | + pointerEvents="none" |
| 7 | + style={ |
| 8 | + Object { |
| 9 | + "alignItems": "center", |
| 10 | + "backgroundColor": "#00000050", |
| 11 | + "bottom": 0, |
| 12 | + "justifyContent": "center", |
| 13 | + "left": 0, |
| 14 | + "position": "absolute", |
| 15 | + "right": 0, |
| 16 | + "top": 0, |
| 17 | + } |
| 18 | + } |
| 19 | +> |
| 20 | + <View |
| 21 | + collapsable={false} |
| 22 | + style={Object {}} |
| 23 | + /> |
| 24 | +</View> |
| 25 | +`; |
| 26 | + |
| 27 | +exports[`shows its child if direction changed to forward 1`] = ` |
| 28 | +<View |
| 29 | + collapsable={false} |
| 30 | + pointerEvents="auto" |
| 31 | + style={ |
| 32 | + Object { |
| 33 | + "alignItems": "center", |
| 34 | + "backgroundColor": "#00000050", |
| 35 | + "bottom": 0, |
| 36 | + "justifyContent": "center", |
| 37 | + "left": 0, |
| 38 | + "position": "absolute", |
| 39 | + "right": 0, |
| 40 | + "top": 0, |
| 41 | + } |
| 42 | + } |
| 43 | +> |
| 44 | + <View |
| 45 | + collapsable={false} |
| 46 | + style={Object {}} |
| 47 | + > |
| 48 | + <Text |
| 49 | + testID="child" |
| 50 | + > |
| 51 | + I should be rendered |
| 52 | + </Text> |
| 53 | + </View> |
| 54 | +</View> |
| 55 | +`; |
| 56 | + |
| 57 | +exports[`shows its child if direction is forward 1`] = ` |
| 58 | +<View |
| 59 | + collapsable={false} |
| 60 | + pointerEvents="auto" |
| 61 | + style={ |
| 62 | + Object { |
| 63 | + "alignItems": "center", |
| 64 | + "backgroundColor": "#00000050", |
| 65 | + "bottom": 0, |
| 66 | + "justifyContent": "center", |
| 67 | + "left": 0, |
| 68 | + "position": "absolute", |
| 69 | + "right": 0, |
| 70 | + "top": 0, |
| 71 | + } |
| 72 | + } |
| 73 | +> |
| 74 | + <View |
| 75 | + collapsable={false} |
| 76 | + style={Object {}} |
| 77 | + > |
| 78 | + <Text |
| 79 | + testID="child" |
| 80 | + > |
| 81 | + I should be rendered |
| 82 | + </Text> |
| 83 | + </View> |
| 84 | +</View> |
| 85 | +`; |
| 86 | + |
| 87 | +exports[`snapshots component when direction changed to backward 1`] = ` |
| 88 | +<View |
| 89 | + collapsable={false} |
| 90 | + pointerEvents="auto" |
| 91 | + style={ |
| 92 | + Object { |
| 93 | + "alignItems": "center", |
| 94 | + "backgroundColor": "#00000050", |
| 95 | + "bottom": 0, |
| 96 | + "justifyContent": "center", |
| 97 | + "left": 0, |
| 98 | + "position": "absolute", |
| 99 | + "right": 0, |
| 100 | + "top": 0, |
| 101 | + } |
| 102 | + } |
| 103 | +> |
| 104 | + <View |
| 105 | + collapsable={false} |
| 106 | + style={Object {}} |
| 107 | + > |
| 108 | + <Text |
| 109 | + testID="child" |
| 110 | + > |
| 111 | + I should not be rendered |
| 112 | + </Text> |
| 113 | + </View> |
| 114 | +</View> |
| 115 | +`; |
0 commit comments