mirror of
				https://gitcode.com/gh_mirrors/re/react-native-pushy.git
				synced 2025-10-31 21:33:12 +08:00 
			
		
		
		
	react-native-pushy适配harmony (#461)
* init * update * udpate * update * update * update * add pushy build time logic
This commit is contained in:
		
							
								
								
									
										17
									
								
								Example/harmony_use_pushy/__tests__/App.test.tsx
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										17
									
								
								Example/harmony_use_pushy/__tests__/App.test.tsx
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,17 @@ | ||||
| /** | ||||
|  * @format | ||||
|  */ | ||||
|  | ||||
| import 'react-native'; | ||||
| import React from 'react'; | ||||
| import App from '../App'; | ||||
|  | ||||
| // Note: import explicitly to use the types shiped with jest. | ||||
| import {it} from '@jest/globals'; | ||||
|  | ||||
| // Note: test renderer must be required after react-native. | ||||
| import renderer from 'react-test-renderer'; | ||||
|  | ||||
| it('renders correctly', () => { | ||||
|   renderer.create(<App />); | ||||
| }); | ||||
		Reference in New Issue
	
	Block a user
	 波仔糕
					波仔糕