|
2 | 2 | module.exports = {
|
3 | 3 | testRunner: {
|
4 | 4 | args: {
|
5 |
| - '$0': 'jest', |
6 |
| - config: 'e2e/jest.config.js' |
| 5 | + $0: 'jest', |
| 6 | + config: 'e2e/jest.config.js', |
7 | 7 | },
|
8 | 8 | jest: {
|
9 |
| - setupTimeout: 120000 |
10 |
| - } |
| 9 | + setupTimeout: 120000, |
| 10 | + }, |
11 | 11 | },
|
12 | 12 | apps: {
|
13 | 13 | 'ios.debug': {
|
14 | 14 | type: 'ios.app',
|
15 | 15 | binaryPath: 'ios/build/Build/Products/Debug-iphonesimulator/testing.app',
|
16 |
| - build: 'set -o pipefail && xcodebuild VALID_ARCHS="`uname -m`" CC=clang CPLUSPLUS=clang++ LD=clang LDPLUSPLUS=clang++ -workspace ios/testing.xcworkspace -scheme testing -configuration Debug -sdk iphonesimulator -derivedDataPath ios/build | xcbeautify' |
| 16 | + build: |
| 17 | + 'set -o pipefail && xcodebuild VALID_ARCHS="`uname -m`" CC=clang CPLUSPLUS=clang++ LD=clang LDPLUSPLUS=clang++ -workspace ios/testing.xcworkspace -scheme testing -configuration Debug -sdk iphonesimulator -derivedDataPath ios/build | xcbeautify', |
17 | 18 | },
|
18 | 19 | 'ios.release': {
|
19 | 20 | type: 'ios.app',
|
20 | 21 | binaryPath: 'ios/build/Build/Products/Release-iphonesimulator/testing.app',
|
21 |
| - build: 'export RCT_NO_LAUNCH_PACKAGER=true && set -o pipefail | xcodebuild CC=clang CPLUSPLUS=clang++ LD=clang LDPLUSPLUS=clang++ -workspace ios/testing.xcworkspace -scheme testing -configuration Release -sdk iphonesimulator -derivedDataPath ios/build | xcbeautify' |
| 22 | + build: |
| 23 | + 'export RCT_NO_LAUNCH_PACKAGER=true && set -o pipefail | xcodebuild CC=clang CPLUSPLUS=clang++ LD=clang LDPLUSPLUS=clang++ -workspace ios/testing.xcworkspace -scheme testing -configuration Release -sdk iphonesimulator -derivedDataPath ios/build | xcbeautify', |
22 | 24 | },
|
23 | 25 | 'android.debug': {
|
24 | 26 | type: 'android.apk',
|
25 | 27 | binaryPath: 'android/app/build/outputs/apk/debug/app-debug.apk',
|
26 |
| - build: 'cd android && ./gradlew assembleDebug assembleAndroidTest lintDebug -DtestBuildType=debug --warning-mode all && cd ..', |
27 |
| - reversePorts: [ |
28 |
| - 8080, |
29 |
| - 8081, |
30 |
| - 8090, |
31 |
| - 9000, |
32 |
| - 9099, |
33 |
| - 9199 |
34 |
| - ] |
| 28 | + build: |
| 29 | + 'cd android && ./gradlew assembleDebug assembleAndroidTest lintDebug -DtestBuildType=debug --warning-mode all && cd ..', |
| 30 | + reversePorts: [8080, 8081, 8090, 9000, 9099, 9199], |
35 | 31 | },
|
36 | 32 | 'android.release': {
|
37 | 33 | type: 'android.apk',
|
38 | 34 | binaryPath: 'android/app/build/outputs/apk/release/app-release.apk',
|
39 |
| - build: 'cd android && ./gradlew assembleRelease assembleAndroidTest -DtestBuildType=release' |
40 |
| - } |
| 35 | + build: 'cd android && ./gradlew assembleRelease assembleAndroidTest -DtestBuildType=release', |
| 36 | + }, |
41 | 37 | },
|
42 | 38 | devices: {
|
43 | 39 | simulator: {
|
44 | 40 | type: 'ios.simulator',
|
45 | 41 | device: {
|
46 |
| - type: 'iPhone 15' |
47 |
| - } |
| 42 | + type: 'iPhone 15', |
| 43 | + }, |
48 | 44 | },
|
49 | 45 | attached: {
|
50 | 46 | type: 'android.attached',
|
51 | 47 | device: {
|
52 |
| - adbName: '.*' |
53 |
| - } |
| 48 | + adbName: '.*', |
| 49 | + }, |
54 | 50 | },
|
55 | 51 | emulator: {
|
56 | 52 | type: 'android.emulator',
|
57 | 53 | device: {
|
58 |
| - avdName: 'TestingAVD' |
59 |
| - } |
60 |
| - } |
| 54 | + avdName: 'TestingAVD', |
| 55 | + }, |
| 56 | + }, |
61 | 57 | },
|
62 | 58 | configurations: {
|
63 | 59 | 'ios.sim.debug': {
|
64 | 60 | device: 'simulator',
|
65 |
| - app: 'ios.debug' |
| 61 | + app: 'ios.debug', |
66 | 62 | },
|
67 | 63 | 'ios.sim.release': {
|
68 | 64 | device: 'simulator',
|
69 |
| - app: 'ios.release' |
| 65 | + app: 'ios.release', |
70 | 66 | },
|
71 | 67 | 'android.att.debug': {
|
72 | 68 | device: 'attached',
|
73 |
| - app: 'android.debug' |
| 69 | + app: 'android.debug', |
74 | 70 | },
|
75 | 71 | 'android.att.release': {
|
76 | 72 | device: 'attached',
|
77 |
| - app: 'android.release' |
| 73 | + app: 'android.release', |
78 | 74 | },
|
79 | 75 | 'android.emu.debug': {
|
80 | 76 | device: 'emulator',
|
81 |
| - app: 'android.debug' |
| 77 | + app: 'android.debug', |
82 | 78 | },
|
83 | 79 | 'android.emu.release': {
|
84 | 80 | device: 'emulator',
|
85 |
| - app: 'android.release' |
86 |
| - } |
87 |
| - } |
| 81 | + app: 'android.release', |
| 82 | + }, |
| 83 | + }, |
88 | 84 | };
|
0 commit comments