The general idea for integration tests:
- Run them in Sauce Labs
- Run a node.js server as a mock Snowplow Collector
- Point the Snowplow JS Tracker to the mock Snowplow Collector
- Fire events from the Snowplow JS Tracker
- Verify the payload sent to the mock Snowplow Collector
The general idea for integration tests: