File tree Expand file tree Collapse file tree 4 files changed +10
-11
lines changed
Expand file tree Collapse file tree 4 files changed +10
-11
lines changed Original file line number Diff line number Diff line change 1- export { default } from './ImmutableListView' ;
1+ import ImmutableListView from './ImmutableListView' ;
2+
3+ export { ImmutableListView } ;
24export * from './EmptyListView' ;
Original file line number Diff line number Diff line change 1- export { default } from './ImmutableVirtualizedList' ;
1+ import ImmutableVirtualizedList from './ImmutableVirtualizedList' ;
2+
3+ export { ImmutableVirtualizedList } ;
24export * from './EmptyVirtualizedList' ;
Original file line number Diff line number Diff line change 11export {
2- default as ImmutableListView ,
3- EmptyListView ,
4- } from './ImmutableListView' ;
5-
6- export {
7- default as ImmutableVirtualizedList ,
2+ ImmutableVirtualizedList ,
83 EmptyVirtualizedList ,
94} from './ImmutableVirtualizedList' ;
Original file line number Diff line number Diff line change @@ -5,8 +5,8 @@ import { Text, ListView } from 'react-native';
55import renderer from 'react-test-renderer' ;
66/* eslint-enable */
77
8- import ImmutableListView from './ImmutableListView' ;
9- import ImmutableVirtualizedList from './ImmutableVirtualizedList' ;
8+ import { ImmutableListView } from './ImmutableListView' ;
9+ import { ImmutableVirtualizedList } from './ImmutableVirtualizedList' ;
1010
1111/**
1212 * Some common types of data you may want to render with ImmutableListView.
@@ -102,7 +102,7 @@ const mocks = {
102102 jest . doMock ( 'ScrollView' , ( ) => mockScrollView ) ;
103103
104104 // eslint-disable-next-line global-require
105- return require ( './ImmutableListView' ) . default ;
105+ return require ( './ImmutableListView' ) . ImmutableListView ;
106106 } ,
107107} ;
108108
You can’t perform that action at this time.
0 commit comments