Home
last modified time | relevance | path

Searched refs:resolveDeviceAsync (Results 1 – 14 of 14) sorted by relevance

/expo/packages/@expo/cli/src/run/android/__tests__/
H A DresolveDevice-test.ts3 import { resolveDeviceAsync } from '../resolveDevice';
13 describe(resolveDeviceAsync, () => {
15 await resolveDeviceAsync();
20 await resolveDeviceAsync(true);
25 await resolveDeviceAsync('search');
H A DrunAndroidAsync-test.ts18 resolveDeviceAsync: jest.fn(async () => ({
H A DresolveOptions-test.ts9 resolveDeviceAsync: jest.fn(async () => ({
/expo/packages/@expo/cli/src/start/platforms/__tests__/
H A DPlatformManager-test.ts44 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 DresolveDevice-test.ts4 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 DresolveOptions-test.ts14 resolveDeviceAsync: jest.fn(async () => ({
/expo/packages/@expo/cli/src/run/android/
H A DresolveOptions.ts1 import { resolveDeviceAsync } from './resolveDevice';
36 device: await resolveDeviceAsync(options.device),
H A DresolveDevice.ts7 export async function resolveDeviceAsync(device?: string | boolean) { function
/expo/packages/@expo/cli/src/run/ios/options/
H A DresolveOptions.ts1 import { isSimulatorDevice, resolveDeviceAsync } from './resolveDevice';
27 const device = await resolveDeviceAsync(options.device, {
H A DresolveDevice.ts40 export async function resolveDeviceAsync( function
/expo/packages/@expo/cli/src/start/platforms/
H A DPlatformManager.ts48 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 DrunIosAsync-test.ts8 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 DApplePlatformManager.ts26 resolveDeviceAsync: AppleDeviceManager.resolveAsync,
/expo/packages/@expo/cli/src/start/platforms/android/
H A DAndroidPlatformManager.ts30 resolveDeviceAsync: AndroidDeviceManager.resolveAsync,