File tree Expand file tree Collapse file tree 2 files changed +13
-8
lines changed
packages/default-storage/example/examples Expand file tree Collapse file tree 2 files changed +13
-8
lines changed Original file line number Diff line number Diff line change @@ -130,8 +130,9 @@ function Functional(): JSX.Element {
130
130
}
131
131
} )
132
132
. then ( async ( ) => {
133
- const AsyncStorageTestSupport =
134
- TurboModuleRegistry . get ( "AsyncStorageTestSupport" ) ;
133
+ const AsyncStorageTestSupport = TurboModuleRegistry . get (
134
+ "AsyncStorageTestSupport"
135
+ ) ;
135
136
136
137
for ( const [ currentName , test ] of Object . entries ( tests ) ) {
137
138
const name = currentName + " with delegate" ;
Original file line number Diff line number Diff line change @@ -176,22 +176,26 @@ function Merge(): JSX.Element {
176
176
testID = "setDelegate_button"
177
177
title = "Set native delegate"
178
178
disabled = {
179
- ! TurboModuleRegistry . get ( 'AsyncStorageTestSupport' ) ?. test_setDelegate
179
+ ! TurboModuleRegistry . get ( "AsyncStorageTestSupport" )
180
+ ?. test_setDelegate
180
181
}
181
182
onPress = { ( ) =>
182
- TurboModuleRegistry . get ( 'AsyncStorageTestSupport' ) ?. test_setDelegate ( ( ) => { } )
183
+ TurboModuleRegistry . get (
184
+ "AsyncStorageTestSupport"
185
+ ) ?. test_setDelegate ( ( ) => { } )
183
186
}
184
187
/>
185
188
< Button
186
189
testID = "unsetDelegate_button"
187
190
title = "Unset native delegate"
188
191
disabled = {
189
- ! TurboModuleRegistry . get ( 'AsyncStorageTestSupport' ) ?. test_unsetDelegate
192
+ ! TurboModuleRegistry . get ( "AsyncStorageTestSupport" )
193
+ ?. test_unsetDelegate
190
194
}
191
195
onPress = { ( ) =>
192
- TurboModuleRegistry . get ( 'AsyncStorageTestSupport' ) ?. test_unsetDelegate (
193
- ( ) => { }
194
- )
196
+ TurboModuleRegistry . get (
197
+ "AsyncStorageTestSupport"
198
+ ) ?. test_unsetDelegate ( ( ) => { } )
195
199
}
196
200
/>
197
201
</ View >
You can’t perform that action at this time.
0 commit comments