Searched refs:resolveDeviceAsync (Results 1 – 14 of 14) sorted by relevance
| /expo/packages/@expo/cli/src/run/android/__tests__/ |
| H A D | resolveDevice-test.ts | 3 import { resolveDeviceAsync } from '../resolveDevice'; 13 describe(resolveDeviceAsync, () => { 15 await resolveDeviceAsync(); 20 await resolveDeviceAsync(true); 25 await resolveDeviceAsync('search');
|
| H A D | runAndroidAsync-test.ts | 18 resolveDeviceAsync: jest.fn(async () => ({
|
| H A D | resolveOptions-test.ts | 9 resolveDeviceAsync: jest.fn(async () => ({
|
| /expo/packages/@expo/cli/src/start/platforms/__tests__/ |
| H A D | PlatformManager-test.ts | 44 const resolveDeviceAsync = jest.fn(async () => device); constant 48 resolveDeviceAsync, 67 resolveDeviceAsync, 90 expect(resolveDeviceAsync).toHaveBeenCalledTimes(1); 119 expect(resolveDeviceAsync).toHaveBeenCalledTimes(1); 149 expect(resolveDeviceAsync).toHaveBeenCalledTimes(1); 181 expect(resolveDeviceAsync).toHaveBeenCalledTimes(1); 205 expect(resolveDeviceAsync).toHaveBeenCalledTimes(1); 231 expect(resolveDeviceAsync).toHaveBeenCalledTimes(1); 261 expect(resolveDeviceAsync).toHaveBeenCalledTimes(1); [all …]
|
| /expo/packages/@expo/cli/src/run/ios/options/__tests__/ |
| H A D | resolveDevice-test.ts | 4 import { resolveDeviceAsync } from '../resolveDevice'; 58 describe(resolveDeviceAsync, () => { 60 expect((await resolveDeviceAsync(undefined, { osType: undefined })).name).toEqual('iPhone 8'); 64 expect((await resolveDeviceAsync(true, { osType: undefined })).name).toEqual(`Evan's phone`); 76 expect((await resolveDeviceAsync(`Evan's phone`, { osType: undefined })).name).toEqual( 87 (await resolveDeviceAsync(`00008101-001964A22629003A`, { osType: undefined })).udid 96 await expect(resolveDeviceAsync(`foobar`, { osType: undefined })).rejects.toThrowError(
|
| H A D | resolveOptions-test.ts | 14 resolveDeviceAsync: jest.fn(async () => ({
|
| /expo/packages/@expo/cli/src/run/android/ |
| H A D | resolveOptions.ts | 1 import { resolveDeviceAsync } from './resolveDevice'; 36 device: await resolveDeviceAsync(options.device),
|
| H A D | resolveDevice.ts | 7 export async function resolveDeviceAsync(device?: string | boolean) { function
|
| /expo/packages/@expo/cli/src/run/ios/options/ |
| H A D | resolveOptions.ts | 1 import { isSimulatorDevice, resolveDeviceAsync } from './resolveDevice'; 27 const device = await resolveDeviceAsync(options.device, {
|
| H A D | resolveDevice.ts | 40 export async function resolveDeviceAsync( function
|
| /expo/packages/@expo/cli/src/start/platforms/ |
| H A D | PlatformManager.ts | 48 resolveDeviceAsync: ( 108 const deviceManager = await this.props.resolveDeviceAsync(resolveSettings); 143 const deviceManager = await this.props.resolveDeviceAsync(resolveSettings); 207 const deviceManager = await this.props.resolveDeviceAsync(resolveSettings);
|
| /expo/packages/@expo/cli/src/run/ios/__tests__/ |
| H A D | runIosAsync-test.ts | 8 import { isSimulatorDevice, resolveDeviceAsync } from '../options/resolveDevice'; 23 resolveDeviceAsync: jest.fn(async () => ({ 111 asMock(resolveDeviceAsync).mockResolvedValueOnce({
|
| /expo/packages/@expo/cli/src/start/platforms/ios/ |
| H A D | ApplePlatformManager.ts | 26 resolveDeviceAsync: AppleDeviceManager.resolveAsync,
|
| /expo/packages/@expo/cli/src/start/platforms/android/ |
| H A D | AndroidPlatformManager.ts | 30 resolveDeviceAsync: AndroidDeviceManager.resolveAsync,
|