Skip to content

Commit

Permalink
Example of issue mixpanel#394
Browse files Browse the repository at this point in the history
  • Loading branch information
arenoir committed Oct 14, 2024
1 parent 475b2c6 commit 4867d09
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions tests/unit/loader.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,17 @@ describe(`Module-based loader in Node env`, function() {
});
});

it(`supports init() with options twice`, function(done) {
mixpanel.init(`test-token`, {
debug: true,
persistence: `localStorage`,
api_host: `https://test.com`,
loaded: function() {
done();
},
});
});

it(`supports identify()`, function() {
mixpanel.identify(`Pat`);
});
Expand Down

0 comments on commit 4867d09

Please sign in to comment.