Skip to content

Commit 881c5d2

Browse files
committed
Fix corrupt mock data
1 parent bfa219e commit 881c5d2

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/mcp/tools/simulator-workspace/__tests__/get_sim_app_path_id_ws.test.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ describe('get_sim_app_path_id_ws tool', () => {
188188
it('should handle successful app path retrieval for tvOS Simulator', async () => {
189189
const mockExecutor = createMockExecutor({
190190
success: true,
191-
output: 'BUILT_PRODUCTS_DIR = /pa../../../../build\nFULL_PRODUCT_NAME = TVApp.app\n',
191+
output: 'BUILT_PRODUCTS_DIR = /path/to/tv/build\nFULL_PRODUCT_NAME = TVApp.app\n',
192192
});
193193

194194
const result = await get_sim_app_path_id_wsLogic(
@@ -207,14 +207,14 @@ describe('get_sim_app_path_id_ws tool', () => {
207207
content: [
208208
{
209209
type: 'text',
210-
text: '✅ App path retrieved successfully: /pa../../../../build/TVApp.app',
210+
text: '✅ App path retrieved successfully: /path/to/tv/build/TVApp.app',
211211
},
212212
{
213213
type: 'text',
214214
text: `Next Steps:
215-
1. Get bundle ID: get_app_bundle_id({ appPath: "/pa../../../../build/TVApp.app" })
215+
1. Get bundle ID: get_app_bundle_id({ appPath: "/path/to/tv/build/TVApp.app" })
216216
2. Boot simulator: boot_simulator({ simulatorUuid: "SIMULATOR_UUID" })
217-
3. Install app: install_app_in_simulator({ simulatorUuid: "SIMULATOR_UUID", appPath: "/pa../../../../build/TVApp.app" })
217+
3. Install app: install_app_in_simulator({ simulatorUuid: "SIMULATOR_UUID", appPath: "/path/to/tv/build/TVApp.app" })
218218
4. Launch app: launch_app_in_simulator({ simulatorUuid: "SIMULATOR_UUID", bundleId: "BUNDLE_ID" })`,
219219
},
220220
],

0 commit comments

Comments
 (0)