Skip to content

Commit 9688d02

Browse files
committed
more fixes
1 parent 7cc3ae8 commit 9688d02

File tree

2 files changed

+7
-9
lines changed

2 files changed

+7
-9
lines changed

__tests__/main.test.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -82,13 +82,13 @@ jest.mock("mixpanel-react-native/javascript/mixpanel-config", () => ({
8282
},
8383
}));
8484

85-
jest.mock("mixpanel-react-native/javascript/mixpanel-logger", () => {
86-
return {
87-
MixpanelLogger: {
88-
log: jest.fn(),
89-
},
90-
};
91-
});
85+
// jest.mock("mixpanel-react-native/javascript/mixpanel-logger", () => {
86+
// return {
87+
// MixpanelLogger: {
88+
// log: jest.fn(),
89+
// },
90+
// };
91+
// });
9292

9393
const {
9494
MixpanelNetwork,

javascript/mixpanel-core.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,7 @@ export const MixpanelCore = (storage) => {
5757
};
5858

5959
const addToMixpanelQueue = async (token, type, data) => {
60-
console.info("here");
6160
if (mixpanelPersistent.getOptedOut(token)) {
62-
console.info("opted out of tracking, skipping tracking. ");
6361
MixpanelLogger.log(
6462
token,
6563
`User has opted out of tracking, skipping tracking.`

0 commit comments

Comments
 (0)