Home
last modified time | relevance | path

Searched refs:resolveOptionsAsync (Results 1 – 16 of 16) sorted by relevance

/expo/packages/@expo/cli/src/export/__tests__/
H A DresolveOptions-test.ts4 import { resolveOptionsAsync } from '../resolveOptions';
17 describe(resolveOptionsAsync, () => {
19 await expect(resolveOptionsAsync('/', { '--platform': ['foobar'] })).rejects.toThrow(
25 await expect(resolveOptionsAsync('/', { '--platform': ['web'] })).rejects.toThrow(
32 resolveOptionsAsync('/', { '--platform': ['android', 'ios'] })
40 resolveOptionsAsync('/', { '--platform': ['android', 'android', 'ios', 'ios'] })
48 resolveOptionsAsync('/', { '--platform': ['android', 'all'] })
56 resolveOptionsAsync('/', {
78 await expect(resolveOptionsAsync('/', {})).resolves.toEqual({
94 await expect(resolveOptionsAsync('/', {})).resolves.toEqual(
/expo/packages/@expo/cli/src/start/__tests__/
H A DresolveOptions-test.ts4 import { resolveHostType, resolveOptionsAsync, resolvePortsAsync } from '../resolveOptions';
22 describe(resolveOptionsAsync, () => {
25 resolveOptionsAsync('/noop', {
36 await resolveOptionsAsync('/noop', {
43 expect((await resolveOptionsAsync('/noop', {})).devClient).toBe(false);
46 expect((await resolveOptionsAsync('/noop', { '--dev-client': true })).devClient).toBe(true);
50 expect((await resolveOptionsAsync('/noop', {})).devClient).toBe(true);
54 expect((await resolveOptionsAsync('/noop', { '--go': true })).devClient).toBe(false);
/expo/packages/@expo/cli/src/run/android/__tests__/
H A DresolveOptions-test.ts4 import { resolveOptionsAsync } from '../resolveOptions';
17 describe(resolveOptionsAsync, () => {
23 expect(await resolveOptionsAsync('/', {})).toEqual({
48 await resolveOptionsAsync('/', {
H A DrunAndroidAsync-test.ts5 import { resolveOptionsAsync } from '../resolveOptions';
41 describe(resolveOptionsAsync, () => {
/expo/packages/@expo/cli/src/run/ios/options/__tests__/
H A DresolveOptions-test.ts5 import { resolveOptionsAsync } from '../resolveOptions';
20 describe(resolveOptionsAsync, () => {
26 expect(await resolveOptionsAsync('/', {})).toEqual({
45 await resolveOptionsAsync('/', {
/expo/packages/@expo/cli/src/export/web/
H A Dindex.ts36 const { resolveOptionsAsync } = await import('./resolveOptions.js'); constant
37 const options = await resolveOptionsAsync(args).catch(logCmdError);
H A DresolveOptions.ts6 export async function resolveOptionsAsync(args: any): Promise<Options> { function
/expo/packages/@expo/cli/src/export/
H A Dindex.ts59 const { resolveOptionsAsync } = await import('./resolveOptions.js'); constant
60 const options = await resolveOptionsAsync(projectRoot, args).catch(logCmdError);
H A DresolveOptions.ts67 export async function resolveOptionsAsync(projectRoot: string, args: any): Promise<Options> { function
/expo/packages/@expo/cli/src/start/
H A Dindex.ts85 const { resolveOptionsAsync } = await import('./resolveOptions.js'); constant
86 const options = await resolveOptionsAsync(projectRoot, args).catch(logCmdError);
H A DresolveOptions.ts25 export async function resolveOptionsAsync(projectRoot: string, args: any): Promise<Options> { function
/expo/packages/@expo/cli/src/run/ios/
H A DrunIosAsync.ts6 import { resolveOptionsAsync } from './options/resolveOptions';
30 const props = await resolveOptionsAsync(projectRoot, options);
/expo/packages/@expo/cli/src/run/android/
H A DrunAndroidAsync.ts4 import { Options, ResolvedOptions, resolveOptionsAsync } from './resolveOptions';
23 const props = await resolveOptionsAsync(projectRoot, options);
H A DresolveOptions.ts25 export async function resolveOptionsAsync( function
/expo/packages/@expo/cli/src/run/ios/__tests__/
H A DrunIosAsync-test.ts9 import { resolveOptionsAsync } from '../options/resolveOptions';
73 describe(resolveOptionsAsync, () => {
/expo/packages/@expo/cli/src/run/ios/options/
H A DresolveOptions.ts9 export async function resolveOptionsAsync( function