Skip to content

Commit c5e6f72

Browse files
committed
Modify example with new version 0.1.2
1 parent ab1a936 commit c5e6f72

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

example/Basic/__mocks__/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ export default {
2929
} else {
3030
filtered = all;
3131
}
32-
return {
32+
return Promise.resolve({
3333
data: filtered,
34-
}
34+
});
3535
}
3636
}

example/Basic/index.android.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ import React, { Component } from 'react';
88
import { AppRegistry } from 'react-native';
99
import App from './src/app';
1010

11-
AppRegistry.registerComponent('Basic', () => App);
11+
AppRegistry.registerComponent('example', () => App);

example/Basic/index.ios.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ import React, { Component } from 'react';
88
import { AppRegistry } from 'react-native';
99
import App from './src/app';
1010

11-
AppRegistry.registerComponent('Basic', () => App);
11+
AppRegistry.registerComponent('example', () => App);

example/WithMockJs/__mocks__/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ export default {
2727
} else {
2828
filtered = all;
2929
}
30-
return {
30+
return Promise.resolve({
3131
data: filtered,
32-
}
32+
});
3333
}
3434
}

0 commit comments

Comments
 (0)