Home
last modified time | relevance | path

Searched refs:openUrlAsync (Results 1 – 11 of 11) sorted by relevance

/expo/packages/@expo/cli/src/start/platforms/android/__tests__/
H A DAndroidDeviceManager-test.ts10 openUrlAsync,
20 openUrlAsync: jest.fn(),
62 await device.openUrlAsync('exp://foobar');
64 expect(openUrlAsync).toBeCalledWith({ pid: '123' }, { url: 'exp://foobar' });
68 await device.openUrlAsync('http://foobar');
70 expect(openUrlAsync).toBeCalledWith({ pid: '123' }, { url: 'http://foobar' });
76 await device.openUrlAsync('@foobar');
H A Dadb-test.ts16 openUrlAsync,
30 describe(openUrlAsync, () => {
32 await openUrlAsync(device, { url: 'acme://foo?bar=1&baz=2' });
/expo/packages/@expo/cli/src/start/platforms/ios/__tests__/
H A DAppleDeviceManager-test.ts4 import { Device, getInfoPlistValueAsync, openAppIdAsync, openUrlAsync } from '../simctl';
8 openUrlAsync: jest.fn(),
78 await device.openUrlAsync('exp://foobar');
79 expect(openUrlAsync).toBeCalledWith(
86 await device.openUrlAsync('http://foobar');
88 expect(openUrlAsync).toBeCalledWith(
96 await device.openUrlAsync('@foobar');
/expo/packages/@expo/cli/src/start/platforms/__tests__/
H A DPlatformManager-test.ts41 openUrlAsync: jest.fn(),
99 expect(device.openUrlAsync).toHaveBeenNthCalledWith(1, url);
129 expect(device.openUrlAsync).toHaveBeenNthCalledWith(1, url);
160 expect(device.openUrlAsync).toHaveBeenNthCalledWith(1, url);
188 expect(device.openUrlAsync).toHaveBeenNthCalledWith(1, url);
212 expect(device.openUrlAsync).toHaveBeenNthCalledWith(1, url);
242 expect(device.openUrlAsync).toHaveBeenNthCalledWith(1, url);
272 expect(device.openUrlAsync).toHaveBeenCalledTimes(0);
305 expect(device.openUrlAsync).toHaveBeenNthCalledWith(1, url);
/expo/packages/@expo/cli/src/start/platforms/ios/__mocks__/
H A Dsimctl.ts5 export const openUrlAsync = jest.fn(async () => {}); constant
/expo/packages/@expo/cli/src/start/platforms/
H A DPlatformManager.ts118 await deviceManager.openUrlAsync(url);
166 await deviceManager.openUrlAsync(url);
210 await deviceManager.openUrlAsync(url);
H A DDeviceManager.ts27 abstract openUrlAsync(url: string): Promise<void>;
/expo/packages/@expo/cli/src/start/platforms/android/
H A DAndroidDeviceManager.ts134 async openUrlAsync(url: string) { method in AndroidDeviceManager
155 await AndroidDebugBridge.openUrlAsync({ pid: this.device.pid }, { url });
H A Dadb.ts147 export async function openUrlAsync( function
/expo/packages/@expo/cli/src/start/platforms/ios/
H A DAppleDeviceManager.ts181 async openUrlAsync(url: string) { method in AppleDeviceManager
188 await SimControl.openUrlAsync(this.device, { url });
H A Dsimctl.ts111 export async function openUrlAsync( function
130 return await openUrlAsync(device, options);