|
1 | 1 | // Jest Snapshot v1, https://goo.gl/fbAQLP
|
2 | 2 |
|
| 3 | +exports[`debug 1`] = ` |
| 4 | +"<View> |
| 5 | + <Text> |
| 6 | + Is the banana fresh? |
| 7 | + </Text> |
| 8 | + <Text |
| 9 | + testID=\\"bananaFresh\\" |
| 10 | + > |
| 11 | + not fresh |
| 12 | + </Text> |
| 13 | + <View |
| 14 | + accessible={true} |
| 15 | + isTVSelectable={true} |
| 16 | + onResponderGrant={[Function bound touchableHandleResponderGrant]} |
| 17 | + onResponderMove={[Function bound touchableHandleResponderMove]} |
| 18 | + onResponderRelease={[Function bound touchableHandleResponderRelease]} |
| 19 | + onResponderTerminate={[Function bound touchableHandleResponderTerminate]} |
| 20 | + onResponderTerminationRequest={[Function bound touchableHandleResponderTerminationRequest]} |
| 21 | + onStartShouldSetResponder={[Function bound touchableHandleStartShouldSetResponder]} |
| 22 | + style={ |
| 23 | + Object { |
| 24 | + \\"opacity\\": 1, |
| 25 | + } |
| 26 | + } |
| 27 | + > |
| 28 | + <Text> |
| 29 | + Change freshness! |
| 30 | + </Text> |
| 31 | + </View> |
| 32 | +</View>" |
| 33 | +`; |
| 34 | + |
| 35 | +exports[`debug changing component: bananaFresh button message should now be "fresh" 1`] = ` |
| 36 | +"<View> |
| 37 | + <Text> |
| 38 | + Is the banana fresh? |
| 39 | + </Text> |
| 40 | + <Text |
| 41 | + testID=\\"bananaFresh\\" |
| 42 | + > |
| 43 | + fresh |
| 44 | + </Text> |
| 45 | + <View |
| 46 | + accessible={true} |
| 47 | + isTVSelectable={true} |
| 48 | + onResponderGrant={[Function bound touchableHandleResponderGrant]} |
| 49 | + onResponderMove={[Function bound touchableHandleResponderMove]} |
| 50 | + onResponderRelease={[Function bound touchableHandleResponderRelease]} |
| 51 | + onResponderTerminate={[Function bound touchableHandleResponderTerminate]} |
| 52 | + onResponderTerminationRequest={[Function bound touchableHandleResponderTerminationRequest]} |
| 53 | + onStartShouldSetResponder={[Function bound touchableHandleStartShouldSetResponder]} |
| 54 | + style={ |
| 55 | + Object { |
| 56 | + \\"opacity\\": 1, |
| 57 | + } |
| 58 | + } |
| 59 | + > |
| 60 | + <Text> |
| 61 | + Change freshness! |
| 62 | + </Text> |
| 63 | + </View> |
| 64 | +</View>" |
| 65 | +`; |
| 66 | + |
| 67 | +exports[`debug: shallow 1`] = ` |
| 68 | +"<View> |
| 69 | + <Text> |
| 70 | + Is the banana fresh? |
| 71 | + </Text> |
| 72 | + <Text |
| 73 | + testID=\\"bananaFresh\\" |
| 74 | + > |
| 75 | + not fresh |
| 76 | + </Text> |
| 77 | + <Button |
| 78 | + onPress={[Function anonymous]} |
| 79 | + type=\\"primary\\" |
| 80 | + > |
| 81 | + Change freshness! |
| 82 | + </Button> |
| 83 | +</View>" |
| 84 | +`; |
| 85 | + |
| 86 | +exports[`debug: shallow with message 1`] = ` |
| 87 | +"my other custom message |
| 88 | +
|
| 89 | +<View> |
| 90 | + <Text> |
| 91 | + Is the banana fresh? |
| 92 | + </Text> |
| 93 | + <Text |
| 94 | + testID=\\"bananaFresh\\" |
| 95 | + > |
| 96 | + not fresh |
| 97 | + </Text> |
| 98 | + <Button |
| 99 | + onPress={[Function anonymous]} |
| 100 | + type=\\"primary\\" |
| 101 | + > |
| 102 | + Change freshness! |
| 103 | + </Button> |
| 104 | +</View>" |
| 105 | +`; |
| 106 | + |
| 107 | +exports[`debug: with message 1`] = ` |
| 108 | +"my custom message |
| 109 | +
|
| 110 | +<View> |
| 111 | + <Text> |
| 112 | + Is the banana fresh? |
| 113 | + </Text> |
| 114 | + <Text |
| 115 | + testID=\\"bananaFresh\\" |
| 116 | + > |
| 117 | + not fresh |
| 118 | + </Text> |
| 119 | + <View |
| 120 | + accessible={true} |
| 121 | + isTVSelectable={true} |
| 122 | + onResponderGrant={[Function bound touchableHandleResponderGrant]} |
| 123 | + onResponderMove={[Function bound touchableHandleResponderMove]} |
| 124 | + onResponderRelease={[Function bound touchableHandleResponderRelease]} |
| 125 | + onResponderTerminate={[Function bound touchableHandleResponderTerminate]} |
| 126 | + onResponderTerminationRequest={[Function bound touchableHandleResponderTerminationRequest]} |
| 127 | + onStartShouldSetResponder={[Function bound touchableHandleStartShouldSetResponder]} |
| 128 | + style={ |
| 129 | + Object { |
| 130 | + \\"opacity\\": 1, |
| 131 | + } |
| 132 | + } |
| 133 | + > |
| 134 | + <Text> |
| 135 | + Change freshness! |
| 136 | + </Text> |
| 137 | + </View> |
| 138 | +</View>" |
| 139 | +`; |
| 140 | + |
3 | 141 | exports[`toJSON 1`] = `
|
4 | 142 | <View
|
5 | 143 | accessible={true}
|
|
0 commit comments