File tree Expand file tree Collapse file tree 9 files changed +610
-184
lines changed Expand file tree Collapse file tree 9 files changed +610
-184
lines changed Original file line number Diff line number Diff line change 1
1
{
2
- "requirePragma": true,
3
2
"singleQuote": true,
4
3
"trailingComma": "all",
5
4
"bracketSpacing": false,
Original file line number Diff line number Diff line change 1
1
/**
2
- * @format
3
2
* @lint -ignore-every XPLATJSCOPYRIGHT1
4
3
*/
5
4
Original file line number Diff line number Diff line change @@ -5,15 +5,15 @@ const adapter = require('detox/runners/jest/adapter');
5
5
jest . setTimeout ( 300000 ) ;
6
6
jasmine . getEnv ( ) . addReporter ( adapter ) ;
7
7
8
- beforeAll ( async ( ) => {
9
- await detox . init ( config ) ;
8
+ beforeAll ( async ( ) => {
9
+ await detox . init ( config ) ;
10
10
} ) ;
11
11
12
- beforeEach ( async ( ) => {
12
+ beforeEach ( async ( ) => {
13
13
await adapter . beforeEach ( ) ;
14
14
} ) ;
15
15
16
- afterAll ( async ( ) => {
16
+ afterAll ( async ( ) => {
17
17
await adapter . afterAll ( ) ;
18
18
await detox . cleanup ( ) ;
19
19
} ) ;
Original file line number Diff line number Diff line change 1
-
2
1
it ( 'finds example text' , async ( ) => {
3
2
await expect ( element ( by . id ( 'headerText' ) ) ) . toBeVisible ( ) ;
4
3
} ) ;
Original file line number Diff line number Diff line change 4
4
* This source code is licensed under the MIT license found in the
5
5
* LICENSE file in the root directory of this source tree.
6
6
*
7
- * @format
8
7
* @flow
9
8
*/
10
9
Original file line number Diff line number Diff line change 4
4
* This source code is licensed under the MIT license found in the
5
5
* LICENSE file in the root directory of this source tree.
6
6
*
7
- * @format
8
7
* @flow
9
8
*/
10
9
Original file line number Diff line number Diff line change 5
5
* LICENSE file in the root directory of this source tree.
6
6
*
7
7
* @flow
8
- * @format
9
8
*/
10
9
11
10
import { NativeModules } from 'react-native' ;
Original file line number Diff line number Diff line change 22
22
"scripts" : {
23
23
"start" : " node node_modules/react-native/local-cli/cli.js start" ,
24
24
"test:flow" : " flow check" ,
25
- "test:eslint" : " eslint ' lib/**/*.js' ' example/**/*.js' " ,
25
+ "test:eslint" : " eslint \" lib/**/*.js\" \" example/**/*.js\" " ,
26
26
"release" : " release-it" ,
27
27
"test:detox:android:test:debug" : " detox test -c android.emu.debug" ,
28
28
"test:detox:android:test:release" : " detox test -c android.emu.release" ,
42
42
},
43
43
"devDependencies" : {
44
44
"@babel/core" : " ^7.0.0" ,
45
- "@react-native-community/eslint-config" : " ^0.0.2 " ,
45
+ "@react-native-community/eslint-config" : " ^0.0.7 " ,
46
46
"babel-core" : " ^7.0.0-bridge.0" ,
47
47
"babel-eslint" : " 9.0.0" ,
48
48
"babel-jest" : " 24.1.0" ,
49
49
"babel-plugin-module-resolver" : " ^3.1.3" ,
50
50
"detox" : " ^12.4.9" ,
51
- "eslint" : " 5.10 .0" ,
51
+ "eslint" : " ^6.8 .0" ,
52
52
"flow-bin" : " 0.86.0" ,
53
53
"jest" : " 24.1.0" ,
54
54
"metro-react-native-babel-preset" : " 0.51.1" ,
You can’t perform that action at this time.
0 commit comments