| /expo/packages/@expo/cli/src/start/doctor/apple/__tests__/ |
| H A D | SimulatorAppPrerequisite-test.ts | 1 import { execAsync } from '@expo/osascript'; 11 asMock(execAsync) 20 expect(execAsync).toBeCalledWith('id of app "Simulator"'); 26 asMock(execAsync).mockResolvedValueOnce(`com.apple.CoreSimulator.bacon`); 35 asMock(execAsync).mockResolvedValueOnce(`com.apple.CoreSimulator.SimulatorTrampoline`);
|
| /expo/packages/@expo/cli/src/start/platforms/ios/__tests__/ |
| H A D | ensureSimulatorAppRunning-test.ts | 1 import { execAsync } from '@expo/osascript'; 12 asMock(execAsync).mockResolvedValueOnce('1'); 21 asMock(execAsync).mockResolvedValueOnce('0').mockResolvedValueOnce('1'); 36 asMock(execAsync).mockRejectedValue(new Error('Application isn’t running')); 43 expect(asMock(execAsync).mock.calls.length).toBeGreaterThanOrEqual(3);
|
| /expo/packages/@expo/cli/src/start/platforms/android/__tests__/ |
| H A D | activateWindow-test.ts | 2 import { execAsync } from '@expo/osascript'; 37 expect(execAsync).toBeCalledTimes(1); 38 expect(execAsync).toBeCalledWith(expect.stringMatching(/36420/)); 46 expect(execAsync).toBeCalledTimes(0);
|
| /expo/packages/expo-sqlite/build/ |
| H A D | SQLite.js | 53 async execAsync(queries, readOnly) { method in SQLiteDatabase 101 await this.execAsync([{ sql: 'BEGIN;', args: [] }], false); 105 await this.execAsync([{ sql: 'END;', args: [] }], false); 108 await this.execAsync([{ sql: 'ROLLBACK;', args: [] }], false); 171 db.execAsync = db._db.execAsync.bind(db._db); 191 …const resultSets = await this.db.execAsync([{ sql: sqlStatement, args: args ?? [] }], this.readOnl…
|
| H A D | SQLite.d.ts | 21 execAsync(queries: Query[], readOnly: boolean): Promise<(ResultSetError | ResultSet)[]>;
|
| H A D | SQLite.js.map | 1 …execAsync(queries: Query[], readOnly: boolean): Promise<(ResultSetError | ResultSet)[]> {\n if …
|
| /expo/packages/@expo/cli/src/start/doctor/apple/ |
| H A D | SimulatorAppPrerequisite.ts | 1 import { execAsync } from '@expo/osascript'; 11 return (await execAsync('id of app "Simulator"')).trim();
|
| /expo/packages/expo-sqlite/src/ |
| H A D | SQLite.ts | 80 async execAsync(queries: Query[], readOnly: boolean): Promise<(ResultSetError | ResultSet)[]> { method in SQLiteDatabase 145 await this.execAsync([{ sql: 'BEGIN;', args: [] }], false); 149 await this.execAsync([{ sql: 'END;', args: [] }], false); 151 await this.execAsync([{ sql: 'ROLLBACK;', args: [] }], false); 248 db.execAsync = db._db.execAsync.bind(db._db); 268 const resultSets = await this.db.execAsync(
|
| /expo/packages/@expo/cli/src/start/server/middleware/inspector/ |
| H A D | LaunchBrowserImplMacOS.ts | 26 await osascript.execAsync(`id of application "${this.MAP[browserType]}"`); 42 const appDirectory = await osascript.execAsync(
|
| /expo/packages/@expo/cli/__mocks__/@expo/ |
| H A D | osascript.ts | 1 export const execAsync = jest.fn(async () => {}); constant
|
| /expo/packages/@expo/cli/src/start/platforms/android/ |
| H A D | activateWindow.ts | 45 await osascript.execAsync(`
|
| /expo/packages/@expo/cli/src/start/platforms/ios/ |
| H A D | ensureSimulatorAppRunning.ts | 50 await osascript.execAsync(
|
| H A D | AppleDeviceManager.ts | 208 await osascript.execAsync(`tell application "Simulator" to activate`);
|
| /expo/docs/pages/versions/unversioned/sdk/ |
| H A D | sqlite.mdx | 97 await db.execAsync([{ sql: 'PRAGMA foreign_keys = ON;', args: [] }], false);
|
| /expo/packages/expo-sqlite/ |
| H A D | CHANGELOG.md | 77 - Added experimental `Promise` based `execAsync` and `transactionAsync` functions. ([#23109](https:…
|
| /expo/ |
| H A D | CHANGELOG.md | 129 …- Added experimental `Promise` based `execAsync` and `transactionAsync` functions. ([#23109](https…
|