Home
last modified time | relevance | path

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

/expo/packages/@expo/package-manager/src/utils/__tests__/
H A Dspawn-test.ts8 const mockedSpawnAsync = spawnAsync as jest.MockedFunction<typeof spawnAsync>; constant
27 expect(mockedSpawnAsync).toBeCalledWith('foo', ['custom', 'flags']);
53 mockedSpawnAsync.mockImplementation(() => mockSpawnPromise(Promise.reject(error)));
63 expect(mockedSpawnAsync).toBeCalledWith('foo', ['other', 'custom', 'flags']);
/expo/packages/@expo/package-manager/src/__tests__/
H A Dspawn-utils.ts14 export const mockedSpawnAsync = spawnAsync as jest.MockedFunction<typeof spawnAsync>; constant
/expo/packages/@expo/package-manager/src/ios/__tests__/
H A DCocoaPodsPackageManager-test.ts7 import { mockSpawnPromise, mockedSpawnAsync } from '../../__tests__/spawn-utils';
240 mockedSpawnAsync.mockImplementation(() => mockSpawnPromise(Promise.resolve({ stdout: '1.9.1' })));
249 mockedSpawnAsync.mockImplementation(() => mockSpawnPromise(Promise.resolve({ stdout: '1.9.1' })));
/expo/packages/@expo/package-manager/src/node/__tests__/
H A DBunPackageManager-test.ts5 import { mockSpawnPromise, mockedSpawnAsync } from '../../__tests__/spawn-utils';
107 mockedSpawnAsync.mockImplementation(() =>
120 mockedSpawnAsync.mockImplementation(() =>
H A DPnpmPackageManager-test.ts5 import { mockSpawnPromise, mockedSpawnAsync } from '../../__tests__/spawn-utils';
121 mockedSpawnAsync.mockImplementation(() =>
134 mockedSpawnAsync.mockImplementation(() =>
H A DYarnPackageManager-test.ts5 import { mockSpawnPromise, mockedSpawnAsync, STUB_SPAWN_CHILD } from '../../__tests__/spawn-utils';
107 mockedSpawnAsync.mockImplementation(() =>
120 mockedSpawnAsync.mockImplementation(() =>
H A DNpmPackageManager-test.ts5 import { mockSpawnPromise, mockedSpawnAsync, STUB_SPAWN_CHILD } from '../../__tests__/spawn-utils';
115 mockedSpawnAsync.mockImplementation(() =>
128 mockedSpawnAsync.mockImplementation(() =>
/expo/packages/@expo/cli/e2e/__tests__/
H A Dutils.ts4 import mockedSpawnAsync, { SpawnOptions, SpawnResult } from '@expo/spawn-async';
38 const spawnAsync = jest.requireActual('@expo/spawn-async') as typeof mockedSpawnAsync;