File tree 2 files changed +11
-2
lines changed
2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -3,8 +3,13 @@ import { MockLinking } from '../__mocks__/MockLinking'
3
3
import { TestHelper } from './TestHelper'
4
4
import { NativeEventEmitter } from 'react-native'
5
5
6
+ // import from the same location that consumers import from
6
7
import {
7
8
Iterable ,
9
+ IterableConfig
10
+ } from '../index'
11
+
12
+ import {
8
13
IterableAttributionInfo ,
9
14
IterableCommerceItem ,
10
15
IterableActionContext ,
@@ -13,8 +18,6 @@ import {
13
18
IterableActionSource
14
19
} from '../Iterable'
15
20
16
- import IterableConfig from '../IterableConfig'
17
-
18
21
beforeEach ( ( ) => {
19
22
jest . clearAllMocks ( )
20
23
} )
Original file line number Diff line number Diff line change 5
5
* @module react-native-iterable-sdk
6
6
*/
7
7
8
+ import { Iterable } from './Iterable'
9
+
8
10
import {
9
11
IterableAction ,
10
12
IterableActionContext ,
@@ -34,7 +36,11 @@ import useAppStateListener from './useAppStateListener'
34
36
import useDeviceOrientation from './useDeviceOrientation'
35
37
import InboxImpressionRowInfo from './InboxImpressionRowInfo'
36
38
39
+ import IterableConfig from './IterableConfig'
40
+
37
41
export {
42
+ Iterable ,
43
+ IterableConfig ,
38
44
IterableAction ,
39
45
IterableActionContext ,
40
46
IterableLogLevel ,
You can’t perform that action at this time.
0 commit comments