Home
last modified time | relevance | path

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

/expo/packages/@expo/cli/src/start/doctor/apple/__tests__/
H A DSimulatorAppPrerequisite-test.ts1 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 DensureSimulatorAppRunning-test.ts1 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 DactivateWindow-test.ts2 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 DSQLite.js53 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 DSQLite.d.ts21 execAsync(queries: Query[], readOnly: boolean): Promise<(ResultSetError | ResultSet)[]>;
H A DSQLite.js.map1execAsync(queries: Query[], readOnly: boolean): Promise<(ResultSetError | ResultSet)[]> {\n if …
/expo/packages/@expo/cli/src/start/doctor/apple/
H A DSimulatorAppPrerequisite.ts1 import { execAsync } from '@expo/osascript';
11 return (await execAsync('id of app "Simulator"')).trim();
/expo/packages/expo-sqlite/src/
H A DSQLite.ts80 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 DLaunchBrowserImplMacOS.ts26 await osascript.execAsync(`id of application "${this.MAP[browserType]}"`);
42 const appDirectory = await osascript.execAsync(
/expo/packages/@expo/cli/__mocks__/@expo/
H A Dosascript.ts1 export const execAsync = jest.fn(async () => {}); constant
/expo/packages/@expo/cli/src/start/platforms/android/
H A DactivateWindow.ts45 await osascript.execAsync(`
/expo/packages/@expo/cli/src/start/platforms/ios/
H A DensureSimulatorAppRunning.ts50 await osascript.execAsync(
H A DAppleDeviceManager.ts208 await osascript.execAsync(`tell application "Simulator" to activate`);
/expo/docs/pages/versions/unversioned/sdk/
H A Dsqlite.mdx97 await db.execAsync([{ sql: 'PRAGMA foreign_keys = ON;', args: [] }], false);
/expo/packages/expo-sqlite/
H A DCHANGELOG.md77 - Added experimental `Promise` based `execAsync` and `transactionAsync` functions. ([#23109](https:…
/expo/
H A DCHANGELOG.md129 …- Added experimental `Promise` based `execAsync` and `transactionAsync` functions. ([#23109](https…