Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 445 Bytes

File metadata and controls

20 lines (14 loc) · 445 Bytes

Testing the Mixpanel component

Currently the best way to end-to-end test the component is to run it locally with webcm and run it against live Mixpanel account.

npx webcm src/index.ts

Open http://localhost:1337 in your browser and trigger an event manually by pasting:

webcm.track('track')

into the JS console.

Then, login to your Mixpanel account and check if the event was properly received.