Skip to content

Commit bdbb50c

Browse files
committed
typo
1 parent e4cdbcf commit bdbb50c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/helpers/RNBranch.mock.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import React from 'react-native'
22

33
const defaultSession = {params: {}, error: null}
4-
let tackingDisabled = false
4+
let trackingDisabled = false
55

66
React.NativeModules.RNBranch = {
77
// Mock constants exported by native layers
@@ -44,12 +44,12 @@ React.NativeModules.RNBranch = {
4444

4545
disableTracking(disable) {
4646
// Just mock user tracking enable/disable
47-
tackingDisabled = disable
47+
trackingDisabled = disable
4848
},
4949

5050
isTrackingDisabled() {
5151
return new Promise((resolve, reject) => {
52-
resolve(tackingDisabled)
52+
resolve(trackingDisabled)
5353
})
5454
},
5555
}

0 commit comments

Comments
 (0)