MCPcopy Create free account
hub / github.com/callstack/agent-device / makeSession

Function makeSession

src/replay/__tests__/script.test.ts:15–28  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

13import type { SessionAction, SessionState } from '../../daemon/types.ts';
14
15function makeSession(): SessionState {
16 return {
17 name: 'default',
18 device: {
19 platform: 'android',
20 id: 'emulator-5554',
21 name: 'Pixel',
22 kind: 'emulator',
23 booted: true,
24 },
25 createdAt: Date.now(),
26 actions: [],
27 };
28}
29
30test('writeReplayScript preserves inline open runtime hints', () => {
31 const root = fs.mkdtempSync(path.join(os.tmpdir(), 'agent-device-replay-script-open-'));

Callers 1

script.test.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…