import { type DetoxConfig } from "detox/detox";


const config:DetoxConfig = {
  testRunner: {
    args: {
      $0: 'jest',
      config: 'jest.config.ts'
    }
  },
  apps: {
    "user.ios": {
      type: "ios.app",
      binaryPath: "appBinaries/User.app",
      bundleId: "com.freshyotrial.app"
    },
    "admin.ios": {
      type: "ios.app",
      binaryPath: "appBinaries/admin.app",
      bundleId: "in.freshyo.adminui"
    }
  },
  devices: {
    simulator: {
      type: "ios.simulator",
      device: {
        type: "iPhone 16"
      }
    }
  },

  configurations: {
    "ios.user": {
      device: 'simulator',
      app: 'user.ios',
    },
    "ios.admin": {
      device: 'simulator',
      app: 'admin.ios'
    }
  }
}
