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 11{
2- "requirePragma": true,
32 "singleQuote": true,
43 "trailingComma": "all",
54 "bracketSpacing": false,
Original file line number Diff line number Diff line change 11/**
2- * @format
32 * @lint -ignore-every XPLATJSCOPYRIGHT1
43 */
54
Original file line number Diff line number Diff line change @@ -5,15 +5,15 @@ const adapter = require('detox/runners/jest/adapter');
55jest . setTimeout ( 300000 ) ;
66jasmine . getEnv ( ) . addReporter ( adapter ) ;
77
8- beforeAll ( async ( ) => {
9- await detox . init ( config ) ;
8+ beforeAll ( async ( ) => {
9+ await detox . init ( config ) ;
1010} ) ;
1111
12- beforeEach ( async ( ) => {
12+ beforeEach ( async ( ) => {
1313 await adapter . beforeEach ( ) ;
1414} ) ;
1515
16- afterAll ( async ( ) => {
16+ afterAll ( async ( ) => {
1717 await adapter . afterAll ( ) ;
1818 await detox . cleanup ( ) ;
1919} ) ;
Original file line number Diff line number Diff line change 1-
21it ( 'finds example text' , async ( ) => {
32 await expect ( element ( by . id ( 'headerText' ) ) ) . toBeVisible ( ) ;
43} ) ;
Original file line number Diff line number Diff line change 44 * This source code is licensed under the MIT license found in the
55 * LICENSE file in the root directory of this source tree.
66 *
7- * @format
87 * @flow
98 */
109
Original file line number Diff line number Diff line change 44 * This source code is licensed under the MIT license found in the
55 * LICENSE file in the root directory of this source tree.
66 *
7- * @format
87 * @flow
98 */
109
Original file line number Diff line number Diff line change 55 * LICENSE file in the root directory of this source tree.
66 *
77 * @flow
8- * @format
98 */
109
1110import { NativeModules } from 'react-native' ;
Original file line number Diff line number Diff line change 2222 "scripts" : {
2323 "start" : " node node_modules/react-native/local-cli/cli.js start" ,
2424 "test:flow" : " flow check" ,
25- "test:eslint" : " eslint ' lib/**/*.js' ' example/**/*.js' " ,
25+ "test:eslint" : " eslint \" lib/**/*.js\" \" example/**/*.js\" " ,
2626 "release" : " release-it" ,
2727 "test:detox:android:test:debug" : " detox test -c android.emu.debug" ,
2828 "test:detox:android:test:release" : " detox test -c android.emu.release" ,
4242 },
4343 "devDependencies" : {
4444 "@babel/core" : " ^7.0.0" ,
45- "@react-native-community/eslint-config" : " ^0.0.2 " ,
45+ "@react-native-community/eslint-config" : " ^0.0.7 " ,
4646 "babel-core" : " ^7.0.0-bridge.0" ,
4747 "babel-eslint" : " 9.0.0" ,
4848 "babel-jest" : " 24.1.0" ,
4949 "babel-plugin-module-resolver" : " ^3.1.3" ,
5050 "detox" : " ^12.4.9" ,
51- "eslint" : " 5.10 .0" ,
51+ "eslint" : " ^6.8 .0" ,
5252 "flow-bin" : " 0.86.0" ,
5353 "jest" : " 24.1.0" ,
5454 "metro-react-native-babel-preset" : " 0.51.1" ,
You can’t perform that action at this time.
0 commit comments