Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
83 changes: 83 additions & 0 deletions .detoxrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
/** @type {Detox.DetoxConfig} */
module.exports = {
testRunner: {
args: {
'$0': 'jest',

Check failure on line 5 in .detoxrc.js

View workflow job for this annotation

GitHub Actions / lint

Replace `'$0'` with `$0`
config: 'e2e/jest.config.js',
},
jest: {
setupTimeout: 120000,
},
},
apps: {
'ios.debug': {
type: 'ios.app',
binaryPath: 'example/ios/build/Build/Products/Debug-iphonesimulator/Sheet2Example.app',

Check failure on line 15 in .detoxrc.js

View workflow job for this annotation

GitHub Actions / lint

Insert `⏎·······`
build: 'cd example/ios && xcodebuild -workspace Sheet2Example.xcworkspace -scheme Sheet2Example -configuration Debug -sdk iphonesimulator -derivedDataPath ./build -quiet',

Check failure on line 16 in .detoxrc.js

View workflow job for this annotation

GitHub Actions / lint

Insert `⏎·······`
},
'ios.release': {
type: 'ios.app',
binaryPath: 'example/ios/build/Build/Products/Release-iphonesimulator/Sheet2Example.app',

Check failure on line 20 in .detoxrc.js

View workflow job for this annotation

GitHub Actions / lint

Insert `⏎·······`
build: 'cd example/ios && xcodebuild -workspace Sheet2Example.xcworkspace -scheme Sheet2Example -configuration Release -sdk iphonesimulator -derivedDataPath ./build -quiet',

Check failure on line 21 in .detoxrc.js

View workflow job for this annotation

GitHub Actions / lint

Insert `⏎·······`
},
'android.debug': {
type: 'android.apk',
binaryPath: 'example/android/app/build/outputs/apk/debug/app-debug.apk',
build: 'cd example/android && ./gradlew assembleDebug assembleAndroidTest -DtestBuildType=debug',

Check failure on line 26 in .detoxrc.js

View workflow job for this annotation

GitHub Actions / lint

Insert `⏎·······`
reversePorts: [

Check failure on line 27 in .detoxrc.js

View workflow job for this annotation

GitHub Actions / lint

Replace `⏎········8081,⏎······` with `8081`
8081,
],
},
'android.release': {
type: 'android.apk',
binaryPath: 'example/android/app/build/outputs/apk/release/app-release.apk',

Check failure on line 33 in .detoxrc.js

View workflow job for this annotation

GitHub Actions / lint

Insert `⏎·······`
build: 'cd example/android && ./gradlew assembleRelease assembleAndroidTest -DtestBuildType=release',

Check failure on line 34 in .detoxrc.js

View workflow job for this annotation

GitHub Actions / lint

Insert `⏎·······`
},
},
devices: {
simulator: {
type: 'ios.simulator',
device: {
type: 'iPhone 16 Pro',
},
},
attached: {
type: 'android.attached',
device: {
adbName: '.*',
},
},
emulator: {
type: 'android.emulator',
device: {
avdName: 'Pixel_3a_API_30_x86',
},
},
},
configurations: {
'ios.sim.debug': {
device: 'simulator',
app: 'ios.debug',
},
'ios.sim.release': {
device: 'simulator',
app: 'ios.release',
},
'android.att.debug': {
device: 'attached',
app: 'android.debug',
},
'android.att.release': {
device: 'attached',
app: 'android.release',
},
'android.emu.debug': {
device: 'emulator',
app: 'android.debug',
},
'android.emu.release': {
device: 'emulator',
app: 'android.release',
},
},
};

Check failure on line 83 in .detoxrc.js

View workflow job for this annotation

GitHub Actions / lint

Insert `⏎`
Loading
Loading