We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e4cdbcf commit bdbb50cCopy full SHA for bdbb50c
test/helpers/RNBranch.mock.js
@@ -1,7 +1,7 @@
1
import React from 'react-native'
2
3
const defaultSession = {params: {}, error: null}
4
-let tackingDisabled = false
+let trackingDisabled = false
5
6
React.NativeModules.RNBranch = {
7
// Mock constants exported by native layers
@@ -44,12 +44,12 @@ React.NativeModules.RNBranch = {
44
45
disableTracking(disable) {
46
// Just mock user tracking enable/disable
47
- tackingDisabled = disable
+ trackingDisabled = disable
48
},
49
50
isTrackingDisabled() {
51
return new Promise((resolve, reject) => {
52
- resolve(tackingDisabled)
+ resolve(trackingDisabled)
53
})
54
55
}
0 commit comments