@@ -47,29 +47,29 @@ test('toBeCheck() with Switch', async () => {
4747 expect ( defaultView ) . not . toBeChecked ( ) ;
4848
4949 expect ( ( ) => expect ( checked ) . not . toBeChecked ( ) ) . toThrowErrorMatchingInlineSnapshot ( `
50- "expect(element ).not.toBeChecked()
50+ "expect(instance ).not.toBeChecked()
5151
52- Received element is checked:
52+ Received instance is checked:
5353 <RCTSwitch
5454 accessibilityRole="switch"
5555 testID="checked"
5656 value={true}
5757 />"
5858 ` ) ;
5959 expect ( ( ) => expect ( unchecked ) . toBeChecked ( ) ) . toThrowErrorMatchingInlineSnapshot ( `
60- "expect(element ).toBeChecked()
60+ "expect(instance ).toBeChecked()
6161
62- Received element is not checked:
62+ Received instance is not checked:
6363 <RCTSwitch
6464 accessibilityRole="switch"
6565 testID="unchecked"
6666 value={false}
6767 />"
6868 ` ) ;
6969 expect ( ( ) => expect ( defaultView ) . toBeChecked ( ) ) . toThrowErrorMatchingInlineSnapshot ( `
70- "expect(element ).toBeChecked()
70+ "expect(instance ).toBeChecked()
7171
72- Received element is not checked:
72+ Received instance is not checked:
7373 <RCTSwitch
7474 accessibilityRole="switch"
7575 testID="default"
@@ -92,9 +92,9 @@ test('toBeCheck() with "checkbox" role', async () => {
9292 expect ( defaultView ) . not . toBeChecked ( ) ;
9393
9494 expect ( ( ) => expect ( checked ) . not . toBeChecked ( ) ) . toThrowErrorMatchingInlineSnapshot ( `
95- "expect(element ).not.toBeChecked()
95+ "expect(instance ).not.toBeChecked()
9696
97- Received element is checked:
97+ Received instance is checked:
9898 <View
9999 accessibilityRole="checkbox"
100100 accessibilityState={
@@ -107,9 +107,9 @@ test('toBeCheck() with "checkbox" role', async () => {
107107 />"
108108 ` ) ;
109109 expect ( ( ) => expect ( unchecked ) . toBeChecked ( ) ) . toThrowErrorMatchingInlineSnapshot ( `
110- "expect(element ).toBeChecked()
110+ "expect(instance ).toBeChecked()
111111
112- Received element is not checked:
112+ Received instance is not checked:
113113 <View
114114 accessibilityRole="checkbox"
115115 accessibilityState={
@@ -122,9 +122,9 @@ test('toBeCheck() with "checkbox" role', async () => {
122122 />"
123123 ` ) ;
124124 expect ( ( ) => expect ( mixed ) . toBeChecked ( ) ) . toThrowErrorMatchingInlineSnapshot ( `
125- "expect(element ).toBeChecked()
125+ "expect(instance ).toBeChecked()
126126
127- Received element is not checked:
127+ Received instance is not checked:
128128 <View
129129 accessibilityRole="checkbox"
130130 accessibilityState={
@@ -137,9 +137,9 @@ test('toBeCheck() with "checkbox" role', async () => {
137137 />"
138138 ` ) ;
139139 expect ( ( ) => expect ( defaultView ) . toBeChecked ( ) ) . toThrowErrorMatchingInlineSnapshot ( `
140- "expect(element ).toBeChecked()
140+ "expect(instance ).toBeChecked()
141141
142- Received element is not checked:
142+ Received instance is not checked:
143143 <View
144144 accessibilityRole="checkbox"
145145 accessible={true}
@@ -160,9 +160,9 @@ test('toBeCheck() with "radio" role', async () => {
160160 expect ( defaultView ) . not . toBeChecked ( ) ;
161161
162162 expect ( ( ) => expect ( checked ) . not . toBeChecked ( ) ) . toThrowErrorMatchingInlineSnapshot ( `
163- "expect(element ).not.toBeChecked()
163+ "expect(instance ).not.toBeChecked()
164164
165- Received element is checked:
165+ Received instance is checked:
166166 <View
167167 accessibilityRole="radio"
168168 accessibilityState={
@@ -175,9 +175,9 @@ test('toBeCheck() with "radio" role', async () => {
175175 />"
176176 ` ) ;
177177 expect ( ( ) => expect ( unchecked ) . toBeChecked ( ) ) . toThrowErrorMatchingInlineSnapshot ( `
178- "expect(element ).toBeChecked()
178+ "expect(instance ).toBeChecked()
179179
180- Received element is not checked:
180+ Received instance is not checked:
181181 <View
182182 accessibilityRole="radio"
183183 accessibilityState={
@@ -190,9 +190,9 @@ test('toBeCheck() with "radio" role', async () => {
190190 />"
191191 ` ) ;
192192 expect ( ( ) => expect ( defaultView ) . toBeChecked ( ) ) . toThrowErrorMatchingInlineSnapshot ( `
193- "expect(element ).toBeChecked()
193+ "expect(instance ).toBeChecked()
194194
195- Received element is not checked:
195+ Received instance is not checked:
196196 <View
197197 accessibilityRole="radio"
198198 accessible={true}
@@ -213,9 +213,9 @@ test('toBeCheck() with "switch" role', async () => {
213213 expect ( defaultView ) . not . toBeChecked ( ) ;
214214
215215 expect ( ( ) => expect ( checked ) . not . toBeChecked ( ) ) . toThrowErrorMatchingInlineSnapshot ( `
216- "expect(element ).not.toBeChecked()
216+ "expect(instance ).not.toBeChecked()
217217
218- Received element is checked:
218+ Received instance is checked:
219219 <View
220220 accessibilityRole="switch"
221221 accessibilityState={
@@ -228,9 +228,9 @@ test('toBeCheck() with "switch" role', async () => {
228228 />"
229229 ` ) ;
230230 expect ( ( ) => expect ( unchecked ) . toBeChecked ( ) ) . toThrowErrorMatchingInlineSnapshot ( `
231- "expect(element ).toBeChecked()
231+ "expect(instance ).toBeChecked()
232232
233- Received element is not checked:
233+ Received instance is not checked:
234234 <View
235235 accessibilityRole="switch"
236236 accessibilityState={
@@ -243,9 +243,9 @@ test('toBeCheck() with "switch" role', async () => {
243243 />"
244244 ` ) ;
245245 expect ( ( ) => expect ( defaultView ) . toBeChecked ( ) ) . toThrowErrorMatchingInlineSnapshot ( `
246- "expect(element ).toBeChecked()
246+ "expect(instance ).toBeChecked()
247247
248- Received element is not checked:
248+ Received instance is not checked:
249249 <View
250250 accessibilityRole="switch"
251251 accessible={true}
0 commit comments