Skip to content

Commit 7eb7e72

Browse files
committed
fix: remove duplicate packageCachePath and update list_devices test assertion
1 parent 37184c4 commit 7eb7e72

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

src/mcp/tools/device/__tests__/list_devices.test.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,10 @@ describe('list_devices plugin (device-shared)', () => {
216216
const text = allText(result);
217217
expect(text).toContain('Test iPhone');
218218
expect(text).toContain('test-device-123');
219-
expect(result.nextStepParams).toBeUndefined();
219+
expect(result.nextStepParams).toEqual({
220+
build_device: { scheme: 'YOUR_SCHEME', deviceId: 'UUID_FROM_ABOVE' },
221+
install_app_device: { deviceId: 'UUID_FROM_ABOVE', appPath: 'PATH_TO_APP' },
222+
});
220223
});
221224

222225
it('should return successful xctrace fallback response', async () => {

src/types/common.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,5 +141,4 @@ export interface PlatformBuildOptions {
141141
packageCachePath?: string;
142142
arch?: string;
143143
logPrefix: string;
144-
packageCachePath?: string;
145144
}

0 commit comments

Comments
 (0)