mirror of
				https://gitcode.com/gh_mirrors/re/react-native-pushy.git
				synced 2025-10-31 13:23:12 +08:00 
			
		
		
		
	remove blockupdate
This commit is contained in:
		| @@ -28,14 +28,7 @@ describe('测试Native模块的方法', () => { | ||||
|     await element(by.id('done')).longPress(); | ||||
|     await expect(element(by.id('done'))).toBeNotVisible(); | ||||
|   }); | ||||
|  | ||||
|   it('setBlockUpdate', async () => { | ||||
|     await element(by.id('setBlockUpdate')).longPress(); | ||||
|     await element(by.id('submit')).longPress(); | ||||
|     await expect(element(by.text('done'))).toBeVisible(); | ||||
|     await element(by.id('done')).longPress(); | ||||
|     await expect(element(by.id('done'))).toBeNotVisible(); | ||||
|   }); | ||||
|    | ||||
|   if (device.getPlatform() === 'android') { | ||||
|     it('reloadUpdate', async () => { | ||||
|       await element(by.id('reloadUpdate')).longPress(); | ||||
|   | ||||
| @@ -66,13 +66,6 @@ export default function TestConsole({visible}) { | ||||
|           setText(`setUuid\n${UUID}`); | ||||
|         }, | ||||
|       }, | ||||
|       { | ||||
|         name: 'setBlockUpdate', | ||||
|         invoke: () => { | ||||
|           setText('setBlockUpdate'); | ||||
|           setOptions({reason: 'application has been block', until: 1673082950}); | ||||
|         }, | ||||
|       }, | ||||
|       { | ||||
|         name: 'reloadUpdate', | ||||
|         invoke: () => { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 sunnylqm
					sunnylqm