Skip to content

Commit

Permalink
fix: use iPhone 15
Browse files Browse the repository at this point in the history
  • Loading branch information
limpbrains committed Feb 9, 2024
1 parent cbe3d23 commit 8eafbce
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .detoxrc.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// run iPhone 14 on local machine, iPhone 15 Pro on mac mini
const iOSDevice = process.env.MACMINI ? 'iPhone 15 Pro' : 'iPhone 14';

module.exports = {
testRunner: {
$0: 'jest',
Expand Down Expand Up @@ -37,7 +40,7 @@ module.exports = {
simulator: {
type: 'ios.simulator',
device: {
type: 'iPhone 15 Pro',
type: iOSDevice,
},
},
emulator: {
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/e2e-ios-macmini.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ env:
NO_FLIPPER: 1
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 8eafbce

Please sign in to comment.