Skip to content

Commit

Permalink
fix: always use iphone 15 for detox iOS tests
Browse files Browse the repository at this point in the history
  • Loading branch information
limpbrains committed Dec 9, 2024
1 parent 5b48634 commit 041b824
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
5 changes: 1 addition & 4 deletions .detoxrc.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
// run iPhone 14 on local machine, iPhone 15 Pro on mac mini
const iOSDevice = process.env.MACMINI ? 'iPhone 15 Pro' : 'iPhone 14';

const reversePorts = [3003, 8080, 8081, 9735, 10009, 28334, 28335, 28336, 30001, 39388, 43782, 60001];

/** @type {Detox.DetoxConfig} */
Expand Down Expand Up @@ -47,7 +44,7 @@ module.exports = {
simulator: {
type: 'ios.simulator',
device: {
type: iOSDevice,
type: 'iPhone 15',
},
},
emulator: {
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/e2e-ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ concurrency:
env:
E2E_TESTS: 1 # build without transform-remove-console babel plugin
DEBUG: 'lnurl* lnurl server'
MACMINI: 1 # use iPhone 15 in .detoxrc

jobs:
e2e:
Expand Down

0 comments on commit 041b824

Please sign in to comment.