Skip to content

Commit ee11f58

Browse files
chore(sample-e2e): Move Detox related files to e2e-detox dir
1 parent b4ee16b commit ee11f58

33 files changed

+50
-47
lines changed

.github/workflows/sample-application.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ jobs:
185185
name: build-sample-${{ matrix.rn-architecture }}-${{ matrix.platform }}-${{ matrix.build-type }}-${{ matrix.ios-use-frameworks}}-logs
186186
path: ${{ env.REACT_NATIVE_SAMPLE_PATH }}/${{ matrix.platform }}/*.log
187187

188-
test:
188+
test-detox:
189189
name: ${{ matrix.job-name }}
190190
runs-on: ${{ matrix.runs-on }}
191191
needs: [diff_check, build]

samples/react-native/.detoxrc.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ module.exports = {
3737
testRunner: {
3838
args: {
3939
$0: 'jest',
40-
config: 'e2e/jest.config.android.js',
40+
config: 'e2e-detox/jest.config.android.js',
4141
},
4242
jest: {
4343
setupTimeout: 120000,
@@ -50,7 +50,7 @@ module.exports = {
5050
testRunner: {
5151
args: {
5252
$0: 'jest',
53-
config: 'e2e/jest.config.ios.auto.js',
53+
config: 'e2e-detox/jest.config.ios.auto.js',
5454
},
5555
jest: {
5656
setupTimeout: 120000,
@@ -63,7 +63,7 @@ module.exports = {
6363
testRunner: {
6464
args: {
6565
$0: 'jest',
66-
config: 'e2e/jest.config.ios.manual.js',
66+
config: 'e2e-detox/jest.config.ios.manual.js',
6767
},
6868
jest: {
6969
setupTimeout: 120000,

samples/react-native/e2e/jest.config.ios.auto.js renamed to samples/react-native/e2e-detox/jest.config.android.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ module.exports = {
55
...baseConfig,
66
testMatch: [
77
...baseConfig.testMatch,
8-
'<rootDir>/e2e/**/*.test.ios.ts',
9-
'<rootDir>/e2e/**/*.test.ios.auto.ts',
8+
'<rootDir>/e2e-detox/**/*.test.android.ts',
109
],
1110
};

samples/react-native/e2e/jest.config.base.js renamed to samples/react-native/e2e-detox/jest.config.base.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
module.exports = {
33
preset: 'ts-jest',
44
rootDir: '..',
5-
testMatch: ['<rootDir>/e2e/**/*.test.ts'],
5+
testMatch: ['<rootDir>/e2e-detox/**/*.test.ts'],
66
testTimeout: 120000,
77
maxWorkers: 1,
88
globalSetup: 'detox/runners/jest/globalSetup',

0 commit comments

Comments
 (0)