|
1 | 1 | // Jest Snapshot v1, https://goo.gl/fbAQLP |
2 | 2 |
|
| 3 | +exports[`SeeMore renders big text correctly 1`] = ` |
| 4 | +Object { |
| 5 | + "asJSON": [Function], |
| 6 | + "baseElement": <View |
| 7 | + pointerEvents="box-none" |
| 8 | + style={ |
| 9 | + Object { |
| 10 | + "flex": 1, |
| 11 | + } |
| 12 | + } |
| 13 | + > |
| 14 | + <View |
| 15 | + collapsable={true} |
| 16 | + pointerEvents="box-none" |
| 17 | + style={ |
| 18 | + Object { |
| 19 | + "flex": 1, |
| 20 | + } |
| 21 | + } |
| 22 | + > |
| 23 | + <Text |
| 24 | + numberOfLines={2} |
| 25 | + testID="SeeMore" |
| 26 | + > |
| 27 | + <Text |
| 28 | + linkColor="#2E75F0" |
| 29 | + linkPressedColor="#163772" |
| 30 | + numberOfLines={2} |
| 31 | + seeLessText="see less" |
| 32 | + seeMoreText="see more" |
| 33 | + style={ |
| 34 | + Object { |
| 35 | + "fontFamily": undefined, |
| 36 | + "fontSize": 14, |
| 37 | + "fontWeight": "300", |
| 38 | + } |
| 39 | + } |
| 40 | + > |
| 41 | + Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo c |
| 42 | + </Text> |
| 43 | + <Text |
| 44 | + linkColor="#2E75F0" |
| 45 | + linkPressedColor="#163772" |
| 46 | + numberOfLines={2} |
| 47 | + seeLessText="see less" |
| 48 | + seeMoreText="see more" |
| 49 | + style={ |
| 50 | + Object { |
| 51 | + "fontFamily": undefined, |
| 52 | + "fontSize": 14, |
| 53 | + "fontWeight": "300", |
| 54 | + } |
| 55 | + } |
| 56 | + > |
| 57 | + <Text |
| 58 | + linkColor="#2E75F0" |
| 59 | + linkPressedColor="#163772" |
| 60 | + numberOfLines={2} |
| 61 | + seeLessText="see less" |
| 62 | + seeMoreText="see more" |
| 63 | + style={ |
| 64 | + Object { |
| 65 | + "fontFamily": undefined, |
| 66 | + "fontSize": 14, |
| 67 | + "fontWeight": "300", |
| 68 | + } |
| 69 | + } |
| 70 | + > |
| 71 | + ... |
| 72 | + </Text> |
| 73 | + <Text |
| 74 | + style={ |
| 75 | + Array [ |
| 76 | + undefined, |
| 77 | + Object { |
| 78 | + "color": "#2E75F0", |
| 79 | + }, |
| 80 | + ] |
| 81 | + } |
| 82 | + > |
| 83 | + see more |
| 84 | + </Text> |
| 85 | + </Text> |
| 86 | + </Text> |
| 87 | + </View> |
| 88 | + </View>, |
| 89 | + "container": <View |
| 90 | + collapsable={true} |
| 91 | + pointerEvents="box-none" |
| 92 | + style={ |
| 93 | + Object { |
| 94 | + "flex": 1, |
| 95 | + } |
| 96 | + } |
| 97 | + > |
| 98 | + <Text |
| 99 | + numberOfLines={2} |
| 100 | + testID="SeeMore" |
| 101 | + > |
| 102 | + <Text |
| 103 | + linkColor="#2E75F0" |
| 104 | + linkPressedColor="#163772" |
| 105 | + numberOfLines={2} |
| 106 | + seeLessText="see less" |
| 107 | + seeMoreText="see more" |
| 108 | + style={ |
| 109 | + Object { |
| 110 | + "fontFamily": undefined, |
| 111 | + "fontSize": 14, |
| 112 | + "fontWeight": "300", |
| 113 | + } |
| 114 | + } |
| 115 | + > |
| 116 | + Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo c |
| 117 | + </Text> |
| 118 | + <Text |
| 119 | + linkColor="#2E75F0" |
| 120 | + linkPressedColor="#163772" |
| 121 | + numberOfLines={2} |
| 122 | + seeLessText="see less" |
| 123 | + seeMoreText="see more" |
| 124 | + style={ |
| 125 | + Object { |
| 126 | + "fontFamily": undefined, |
| 127 | + "fontSize": 14, |
| 128 | + "fontWeight": "300", |
| 129 | + } |
| 130 | + } |
| 131 | + > |
| 132 | + <Text |
| 133 | + linkColor="#2E75F0" |
| 134 | + linkPressedColor="#163772" |
| 135 | + numberOfLines={2} |
| 136 | + seeLessText="see less" |
| 137 | + seeMoreText="see more" |
| 138 | + style={ |
| 139 | + Object { |
| 140 | + "fontFamily": undefined, |
| 141 | + "fontSize": 14, |
| 142 | + "fontWeight": "300", |
| 143 | + } |
| 144 | + } |
| 145 | + > |
| 146 | + ... |
| 147 | + </Text> |
| 148 | + <Text |
| 149 | + style={ |
| 150 | + Array [ |
| 151 | + undefined, |
| 152 | + Object { |
| 153 | + "color": "#2E75F0", |
| 154 | + }, |
| 155 | + ] |
| 156 | + } |
| 157 | + > |
| 158 | + see more |
| 159 | + </Text> |
| 160 | + </Text> |
| 161 | + </Text> |
| 162 | + </View>, |
| 163 | + "debug": [Function], |
| 164 | + "findAllByDisplayValue": [Function], |
| 165 | + "findAllByHintText": [Function], |
| 166 | + "findAllByLabelText": [Function], |
| 167 | + "findAllByPlaceholderText": [Function], |
| 168 | + "findAllByRole": [Function], |
| 169 | + "findAllByTestId": [Function], |
| 170 | + "findAllByText": [Function], |
| 171 | + "findAllByTitle": [Function], |
| 172 | + "findByDisplayValue": [Function], |
| 173 | + "findByHintText": [Function], |
| 174 | + "findByLabelText": [Function], |
| 175 | + "findByPlaceholderText": [Function], |
| 176 | + "findByRole": [Function], |
| 177 | + "findByTestId": [Function], |
| 178 | + "findByText": [Function], |
| 179 | + "findByTitle": [Function], |
| 180 | + "getAllByDisplayValue": [Function], |
| 181 | + "getAllByHintText": [Function], |
| 182 | + "getAllByLabelText": [Function], |
| 183 | + "getAllByPlaceholderText": [Function], |
| 184 | + "getAllByRole": [Function], |
| 185 | + "getAllByTestId": [Function], |
| 186 | + "getAllByText": [Function], |
| 187 | + "getAllByTitle": [Function], |
| 188 | + "getByDisplayValue": [Function], |
| 189 | + "getByHintText": [Function], |
| 190 | + "getByLabelText": [Function], |
| 191 | + "getByPlaceholderText": [Function], |
| 192 | + "getByRole": [Function], |
| 193 | + "getByTestId": [Function], |
| 194 | + "getByText": [Function], |
| 195 | + "getByTitle": [Function], |
| 196 | + "queryAllByDisplayValue": [Function], |
| 197 | + "queryAllByHintText": [Function], |
| 198 | + "queryAllByLabelText": [Function], |
| 199 | + "queryAllByPlaceholderText": [Function], |
| 200 | + "queryAllByRole": [Function], |
| 201 | + "queryAllByTestId": [Function], |
| 202 | + "queryAllByText": [Function], |
| 203 | + "queryAllByTitle": [Function], |
| 204 | + "queryByDisplayValue": [Function], |
| 205 | + "queryByHintText": [Function], |
| 206 | + "queryByLabelText": [Function], |
| 207 | + "queryByPlaceholderText": [Function], |
| 208 | + "queryByRole": [Function], |
| 209 | + "queryByTestId": [Function], |
| 210 | + "queryByText": [Function], |
| 211 | + "queryByTitle": [Function], |
| 212 | + "rerender": [Function], |
| 213 | + "unmount": [Function], |
| 214 | +} |
| 215 | +`; |
| 216 | + |
3 | 217 | exports[`SeeMore renders small text correctly 1`] = ` |
4 | 218 | <View |
5 | 219 | pointerEvents="box-none" |
|
0 commit comments