/** @type {Detox.DetoxConfig} */
module.exports = {
testRunner: {
args: {
$0: 'jest',
config: '__e2e__/jest.config.js',
},
jest: {
setupTimeout: 120000,
apps: {
'ios.debug': {
type: 'ios.app',
binaryPath: 'ios/build/Build/Products/Debug-iphonesimulator/bluesky.app',
build:
'xcodebuild -workspace ios/Bluesky.xcworkspace -scheme Bluesky -configuration Debug -sdk iphonesimulator -derivedDataPath ios/build',
'ios.release': {
binaryPath:
'ios/build/Build/Products/Release-iphonesimulator/bluesky.app',
'xcodebuild -workspace ios/Bluesky.xcworkspace -scheme Bluesky -configuration Release -sdk iphonesimulator -derivedDataPath ios/build',
'android.debug': {
type: 'android.apk',
binaryPath: 'android/app/build/outputs/apk/debug/app-debug.apk',
'cd android ; ./gradlew assembleDebug assembleAndroidTest -DtestBuildType=debug ; cd -',
reversePorts: [8081],
'android.release': {
binaryPath: 'android/app/build/outputs/apk/release/app-release.apk',
'cd android ; ./gradlew assembleRelease assembleAndroidTest -DtestBuildType=release ; cd -',
devices: {
simulator: {
type: 'ios.simulator',
device: {
type: 'iPhone 15 Pro',
attached: {
type: 'android.attached',
adbName: '.*',
emulator: {
type: 'android.emulator',
avdName: 'Pixel_3a_API_30_x86',
configurations: {
'ios.sim.debug': {
device: 'simulator',
app: 'ios.debug',
'ios.sim.release': {
app: 'ios.release',
'android.att.debug': {
device: 'attached',
app: 'android.debug',
'android.att.release': {
app: 'android.release',
'android.emu.debug': {
device: 'emulator',
'android.emu.release': {
}