Skip to content

Commit

Permalink
Version 1.3.9
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredmixpanel committed Mar 2, 2022
1 parent 9dd2681 commit b1030f5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions __tests__/index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ import { NativeModules } from 'react-native';

test(`it calls MixpanelReactNative initialize`, async () => {
const mixpanel = await Mixpanel.init("token");
expect(NativeModules.MixpanelReactNative.initialize).toBeCalledWith("token", false, {"$lib_version": "1.3.8", "mp_lib": "react-native"});
expect(NativeModules.MixpanelReactNative.initialize).toBeCalledWith("token", false, {"$lib_version": "1.3.9", "mp_lib": "react-native"});
});

test(`it calls MixpanelReactNative initialize with optOut and superProperties`, async () => {
const mixpanel = new Mixpanel("token");
mixpanel.init(true, {"super": "property"})
expect(NativeModules.MixpanelReactNative.initialize).toBeCalledWith("token", true, {"$lib_version": "1.3.8", "mp_lib": "react-native", "super": "property"});
expect(NativeModules.MixpanelReactNative.initialize).toBeCalledWith("token", true, {"$lib_version": "1.3.9", "mp_lib": "react-native", "super": "property"});
});

test(`it calls MixpanelReactNative setServerURL`, async () => {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mixpanel-react-native",
"version": "1.3.8",
"version": "1.3.9",
"description": "Official React Native Tracking Library for Mixpanel Analytics",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit b1030f5

Please sign in to comment.