1const { launchWithPermissionsAsync } = require('../Utils'); 2 3const permissions = { 4 calendar: true, 5 contacts: true, 6 medialibrary: true, 7 microphone: true, 8 motion: true, 9 notifications: true, 10 photos: true, 11 reminders: true, 12 speech: true, 13 // location: 'always', // inuse, never, unset 14 // camera: true, 15 // faceid: true, 16 // homekit: true, 17 // siri: true, 18 // // (iOS 12.0 and above) 19 // health: true, 20}; 21 22beforeAll(async () => { 23 await launchWithPermissionsAsync(permissions); 24}); 25 26process.on('unhandledRejection', (reason, p) => { 27 console.log('Unhandled Rejection at: Promise', p, 'reason:', reason); 28}); 29