Home
last modified time | relevance | path

Searched refs:spy (Results 1 – 8 of 8) sorted by relevance

/expo/packages/create-expo/src/__tests__/
H A DExamples.test.ts41 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 DDevicePushTokenAutoRegistration-test.ts19 const spy = jest.spyOn(console, 'warn').mockImplementation(); constant
29 spy.mockRestore();
/expo/apps/test-suite/tests/
H A DMediaLibrary.js551 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 DLocation.js353 spies.map((spy) => Location.watchPositionAsync({}, spy))
358 spies.forEach((spy) => t.expect(spy).toHaveBeenCalled());
/expo/packages/expo-notifications/src/utils/__tests__/
H A DupdateDevicePushTokenAsync-test.ts61 const spy = jest.spyOn(console, 'debug').mockImplementation(); constant
69 spy.mockRestore();
/expo/packages/expo-dev-client/android/src/androidTest/assets/
H A Dbundled_app.bundle47 …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 Dmain.jsbundle31 …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 Dexpo_dev_launcher_android.bundle31 …delete(u),this._failureCallbacks.delete(u),n.apply(void 0,t(s)))}}],[{key:"spy",value:function(t){…