Searched refs:spy (Results 1 – 8 of 8) sorted by relevance
| /expo/packages/create-expo/src/__tests__/ |
| H A D | Examples.test.ts | 41 const spy = jest.spyOn(env, 'CI', 'get').mockReturnValue(true); constant 43 spy.mockRestore(); 48 const spy = jest.spyOn(env, 'CI', 'get').mockReturnValue(false); constant 67 spy.mockRestore();
|
| /expo/packages/expo-notifications/src/__tests__/ |
| H A D | DevicePushTokenAutoRegistration-test.ts | 19 const spy = jest.spyOn(console, 'warn').mockImplementation(); constant 29 spy.mockRestore();
|
| /expo/apps/test-suite/tests/ |
| H A D | MediaLibrary.js | 551 const spy = t.jasmine.createSpy('addAsset spy', () => {}); 552 const remove = MediaLibrary.addListener(spy); 556 await timeoutWrapper(() => t.expect(spy).toHaveBeenCalled(), WAIT_TIME); 567 const spy = t.jasmine.createSpy('remove spy', () => {}); 568 const subscription = MediaLibrary.addListener(spy); 573 await timeoutWrapper(() => t.expect(spy).not.toHaveBeenCalled(), WAIT_TIME); 583 const spy = t.jasmine.createSpy('deleteAsset spy', () => {}); 585 const subscription = MediaLibrary.addListener(spy); 589 await timeoutWrapper(() => t.expect(spy).toHaveBeenCalled(), WAIT_TIME); 598 const spy = t.jasmine.createSpy('removeAll', () => {}); [all …]
|
| H A D | Location.js | 353 spies.map((spy) => Location.watchPositionAsync({}, spy)) 358 spies.forEach((spy) => t.expect(spy).toHaveBeenCalled());
|
| /expo/packages/expo-notifications/src/utils/__tests__/ |
| H A D | updateDevicePushTokenAsync-test.ts | 61 const spy = jest.spyOn(console, 'debug').mockImplementation(); constant 69 spy.mockRestore();
|
| /expo/packages/expo-dev-client/android/src/androidTest/assets/ |
| H A D | bundled_app.bundle | 47 …delete(s),this._failureCallbacks.delete(s),n.apply(void 0,t(u)))}}],[{key:"spy",value:function(t){…
|
| /expo/packages/expo-dev-launcher/ios/ |
| H A D | main.jsbundle | 31 …delete(u),this._failureCallbacks.delete(u),n.apply(void 0,t(s)))}}],[{key:"spy",value:function(t){…
|
| /expo/packages/expo-dev-launcher/android/src/debug/assets/ |
| H A D | expo_dev_launcher_android.bundle | 31 …delete(u),this._failureCallbacks.delete(u),n.apply(void 0,t(s)))}}],[{key:"spy",value:function(t){…
|