Browse Source

fixed lint

Daniel Zlotin 8 years ago
parent
commit
134e1bc092
2 changed files with 4 additions and 3 deletions
  1. 2
    1
      playground/e2e/app.test.js
  2. 2
    2
      playground/src/containers/SimpleScreen.js

+ 2
- 1
playground/e2e/app.test.js View File

@@ -46,9 +46,10 @@ describe('app', () => {
46 46
 });
47 47
 
48 48
 describe('reload app', () => {
49
-  before(function (done) {
49
+  before((done) => {
50 50
     simulator.reloadReactNativeApp(done);
51 51
   });
52
+
52 53
   it('shows welcome screen', () => {
53 54
     expect(elementByLabel('React Native Navigation!')).toBeVisible();
54 55
   });

+ 2
- 2
playground/src/containers/SimpleScreen.js View File

@@ -34,12 +34,12 @@ class SimpleScreen extends Component {
34 34
   onClickPop() {
35 35
     Navigation.on(this.props.id).pop();
36 36
   }
37
-  
37
+
38 38
   onClickPush() {
39 39
     Navigation.on(this.props.id).push({
40 40
       name: 'navigation.playground.SimpleScreen',
41 41
       passProps: {
42
-        stackPosition: this.props.stackPosition + 1,
42
+        stackPosition: this.props.stackPosition + 1
43 43
       }
44 44
     });
45 45
   }