| /expo/packages/@expo/package-manager/src/node/__tests__/ |
| H A D | PnpmPackageManager-test.ts | 1 import spawnAsync from '@expo/spawn-async'; 43 expect(spawnAsync).toBeCalledWith( 56 expect(spawnAsync).toBeCalledWith( 78 expect(spawnAsync).toBeCalledWith( 89 expect(spawnAsync).toBeCalledWith( 100 expect(spawnAsync).toBeCalledWith( 111 expect(spawnAsync).toBeCalledWith( 150 expect(spawnAsync).toBeCalledWith( 161 expect(spawnAsync).toBeCalledWith( 246 expect(spawnAsync).toBeCalledWith( [all …]
|
| H A D | BunPackageManager-test.ts | 1 import spawnAsync from '@expo/spawn-async'; 29 expect(spawnAsync).toBeCalledWith( 42 expect(spawnAsync).toBeCalledWith( 64 expect(spawnAsync).toBeCalledWith( 75 expect(spawnAsync).toBeCalledWith( 86 expect(spawnAsync).toBeCalledWith( 97 expect(spawnAsync).toBeCalledWith( 136 expect(spawnAsync).toBeCalledWith( 147 expect(spawnAsync).toBeCalledWith( 193 expect(spawnAsync).toBeCalledWith( [all …]
|
| H A D | YarnPackageManager-test.ts | 1 import spawnAsync from '@expo/spawn-async'; 29 expect(spawnAsync).toBeCalledWith( 42 expect(spawnAsync).toBeCalledWith( 64 expect(spawnAsync).toBeCalledWith( 75 expect(spawnAsync).toBeCalledWith( 86 expect(spawnAsync).toBeCalledWith( 97 expect(spawnAsync).toBeCalledWith( 127 expect(spawnAsync).toBeCalledWith( 140 expect(spawnAsync).toBeCalledWith( 151 expect(spawnAsync).toBeCalledWith( [all …]
|
| H A D | NpmPackageManager-test.ts | 1 import spawnAsync from '@expo/spawn-async'; 29 expect(spawnAsync).toBeCalledWith( 42 expect(spawnAsync).toBeCalledWith( 64 expect(spawnAsync).toBeCalledWith( 75 expect(spawnAsync).toBeCalledWith( 94 expect(spawnAsync).toBeCalledWith( 105 expect(spawnAsync).toBeCalledWith( 144 expect(spawnAsync).toBeCalledWith( 155 expect(spawnAsync).toBeCalledWith( 201 expect(spawnAsync).toBeCalledWith( [all …]
|
| /expo/packages/@expo/package-manager/src/utils/__tests__/ |
| H A D | spawn-test.ts | 1 import spawnAsync from '@expo/spawn-async'; 8 const mockedSpawnAsync = spawnAsync as jest.MockedFunction<typeof spawnAsync>; 14 () => spawnAsync('foo', ['bar']) 23 (flags) => spawnAsync('foo', flags) 33 () => spawnAsync('foo', ['bar']) 44 () => spawnAsync('foo', ['bar']) 57 (flags) => spawnAsync('foo', flags)
|
| /expo/packages/@expo/cli/src/start/doctor/apple/__tests__/ |
| H A D | SimulatorAppPrerequisite-test.ts | 2 import spawnAsync from '@expo/spawn-async'; 14 asMock(spawnAsync) 21 expect(spawnAsync).toBeCalledWith('xcrun', ['simctl', 'help']); 27 asMock(spawnAsync).mockReset(); 30 expect(spawnAsync).not.toBeCalled(); 36 asMock(spawnAsync).mockImplementationOnce(() => {
|
| H A D | XcrunPrerequisite-test.ts | 1 import spawnAsync from '@expo/spawn-async'; 26 asMock(spawnAsync).mockReset(); 45 expect(spawnAsync).toBeCalledWith('sudo', ['xcode-select', '--install']); 49 asMock(spawnAsync).mockReset(); 67 expect(spawnAsync).not.toBeCalled();
|
| /expo/packages/create-expo/src/utils/ |
| H A D | git.ts | 1 import spawnAsync from '@expo/spawn-async'; 9 await spawnAsync('git', ['rev-parse', '--is-inside-work-tree'], { stdio: 'ignore', cwd: root }); 23 await spawnAsync('git', ['init'], { stdio: 'ignore', cwd: root }); 24 await spawnAsync('git', ['add', '-A'], { stdio: 'ignore', cwd: root }); 27 await spawnAsync('git', ['commit', '-m', commitMsg], {
|
| /expo/packages/@expo/cli/src/start/platforms/android/__tests__/ |
| H A D | gradle-test.ts | 1 import spawnAsync from '@expo/spawn-async'; 53 expect(spawnAsync).toHaveBeenCalledWith( 74 expect(spawnAsync).toHaveBeenCalledWith( 86 expect(spawnAsync).toHaveBeenCalledWith( 102 expect(spawnAsync).toBeCalledWith('/gradlew', ['foo', 'bar'], { cwd: '/', stdio: 'inherit' }); 112 expect(spawnAsync).toBeCalledWith( 121 asMock(spawnAsync).mockRejectedValueOnce({ status: 130 });
|
| H A D | ADBServer-test.ts | 1 import spawnAsync from '@expo/spawn-async'; 73 asMock(spawnAsync).mockResolvedValueOnce({ 80 expect(spawnAsync).toBeCalledTimes(1); 88 expect(spawnAsync).toBeCalledTimes(0); 93 asMock(spawnAsync).mockResolvedValueOnce({ 105 expect(spawnAsync).toBeCalledTimes(1); 106 expect(spawnAsync).toBeCalledWith('adb', ['foo', 'bar']); 129 asMock(spawnAsync).mockResolvedValueOnce({ output: [''] } as any); 134 expect(spawnAsync).toBeCalledTimes(1); 137 asMock(spawnAsync).mockResolvedValueOnce({ output: [''] } as any); [all …]
|
| /expo/packages/@expo/cli/src/start/platforms/ios/__tests__/ |
| H A D | simctl-test.ts | 1 import spawnAsync from '@expo/spawn-async'; 31 asMock(spawnAsync).mockResolvedValueOnce({ 41 asMock(spawnAsync).mockResolvedValueOnce({ 58 asMock(spawnAsync) 71 expect(spawnAsync).toHaveBeenNthCalledWith( 82 asMock(spawnAsync).mockResolvedValueOnce({ 90 expect(spawnAsync).toBeCalledWith( 97 asMock(spawnAsync).mockRejectedValueOnce({
|
| H A D | xcrun-test.ts | 1 import spawnAsync from '@expo/spawn-async'; 8 asMock(spawnAsync).mockImplementationOnce(() => { 18 expect(spawnAsync).toBeCalledWith('xcrun', ['simctl', 'help'], undefined); 23 asMock(spawnAsync).mockImplementationOnce(() => {
|
| H A D | ensureSimulatorAppRunning-test.ts | 2 import spawnAsync from '@expo/spawn-async'; 16 expect(spawnAsync).not.toBeCalled(); 26 expect(spawnAsync).toBeCalledWith('open', [ 44 expect(spawnAsync).toBeCalledTimes(1);
|
| /expo/tools/src/ |
| H A D | Npm.ts | 4 import { spawnAsync, spawnJSONCommandAsync, SpawnOptions } from './Utils'; 80 await spawnAsync('npm', ['pack', version ? `${packageName}@${version}` : packageName], { 105 await spawnAsync('npm', args, { 119 await spawnAsync('npm', ['dist-tag', 'add', `${packageName}@${version}`, tagName]); 126 await spawnAsync('npm', ['dist-tag', 'rm', packageName, tagName]); 143 await spawnAsync('npm', ['access', 'grant', 'read-write', teamName, packageName]); 151 const { stdout } = await spawnAsync('npm', ['whoami']);
|
| H A D | FirebaseTestLab.ts | 1 import spawnAsync from '@expo/spawn-async'; 12 await spawnAsync( 37 await spawnAsync('./gradlew', [':app:assembleDebug'], { 45 await spawnAsync('./gradlew', [':app:assembleDebugAndroidTest'], {
|
| H A D | IOSSimulator.ts | 1 import spawnAsync from '@expo/spawn-async'; 10 await spawnAsync('xcrun', ['instruments', '-w', 'iPhone X (11.2) [']); 24 await spawnAsync('xcrun', ['simctl', 'install', simulatorId, archivePath]); 37 await spawnAsync('xcrun', ['simctl', 'launch', simulatorId, bundleIdentifier]);
|
| /expo/packages/@expo/fingerprint/e2e/__tests__/ |
| H A D | managed-test.ts | 1 import spawnAsync from '@expo/spawn-async'; 29 await spawnAsync('npx', ['create-expo-app', '-t', 'blank', projectName], { 41 await spawnAsync('npx', ['expo', 'install', '@react-navigation/core'], { 62 await spawnAsync('npx', ['expo', 'install', 'expo-updates'], { 94 await spawnAsync('npx', ['expo', 'install', 'expo-build-properties'], { 104 await spawnAsync('npm', ['install', '--save', '@react-native-community/[email protected]'], { 141 await spawnAsync('npx', ['create-expo-app', '-t', 'blank@sdk-47', projectName], { 147 await spawnAsync('npm', ['install', '--save', '[email protected]'], {
|
| /expo/packages/@expo/cli/src/utils/__tests__/ |
| H A D | tar-test.ts | 1 import spawnAsync from '@expo/spawn-async'; 21 asMock(spawnAsync).mockClear(); 33 asMock(spawnAsync).mockImplementationOnce(() => { 55 expect(spawnAsync).toBeCalledTimes(1); 66 expect(spawnAsync).toBeCalledTimes(0);
|
| H A D | editor-test.ts | 1 import spawnAsync from '@expo/spawn-async'; 43 asMock(spawnAsync).mockImplementationOnce(() => { 49 expect(spawnAsync).toBeCalledWith('my-editor-binary', ['/foo/bar']); 50 expect(spawnAsync).toBeCalledTimes(1);
|
| /expo/packages/@expo/package-manager/src/__tests__/ |
| H A D | spawn-utils.ts | 1 import spawnAsync, { SpawnPromise, SpawnResult } from '@expo/spawn-async'; 14 export const mockedSpawnAsync = spawnAsync as jest.MockedFunction<typeof spawnAsync>;
|
| /expo/packages/@expo/fingerprint/src/sourcer/__tests__/ |
| H A D | Bare-test.ts | 1 import spawnAsync from '@expo/spawn-async'; 38 const mockSpawnAsync = spawnAsync as jest.MockedFunction<typeof spawnAsync>; 64 const mockSpawnAsync = spawnAsync as jest.MockedFunction<typeof spawnAsync>;
|
| /expo/packages/@expo/cli/src/start/server/middleware/inspector/ |
| H A D | LaunchBrowserImplWindows.ts | 1 import spawnAsync from '@expo/spawn-async'; 37 const { status } = await spawnAsync( 58 tmpDir = (await spawnAsync('powershell.exe', ['-c', 'echo "$Env:TEMP"'])).stdout.trim(); 84 await spawnAsync( 111 await spawnAsync('powershell.exe', ['-c', 'echo "$PSHOME\\Modules"'])
|
| /expo/tools/src/versioning/android/ |
| H A D | jarFiles.ts | 1 import spawnAsync from '@expo/spawn-async'; 16 await spawnAsync('./gradlew', ['build'], { 23 await spawnAsync('tar', ['-xf', tarBall, '-C', buildDir], {
|
| /expo/packages/@expo/package-manager/src/utils/ |
| H A D | spawn.ts | 1 import spawnAsync, { SpawnOptions, SpawnPromise } from '@expo/spawn-async'; 20 spawnAsync: (result: V) => SpawnPromise<T> 32 const spawnPromise = spawnAsync(result); 68 await spawnAsync('sudo', command, spawnOptions);
|
| /expo/packages/expo-test-runner/src/ |
| H A D | TemplateProject.ts | 1 import spawnAsync from '@expo/spawn-async'; 36 await spawnAsync('yarn', ['create', 'expo-app', appName], { 44 await spawnAsync(localCliBin, ['install', 'detox', 'jest'], { 97 await spawnAsync('npm', ['pack', '--pack-destination', projectPath], { 103 await spawnAsync( 118 await spawnAsync('rm', ['-rf', 'node_modules/expo-dev-client/android/src/androidTest'], { 175 await spawnAsync('yarn', ['detox', 'build', '-c', conf], { 192 await spawnAsync(
|