mirror of
https://github.com/Kong/insomnia
synced 2024-11-08 23:00:30 +00:00
6 lines
279 B
TypeScript
6 lines
279 B
TypeScript
// WARNING: changing this to `export default` will break the mock and be incredibly hard to debug. Ask me how I know.
|
|
const _analytics = jest.requireActual('../analytics');
|
|
_analytics.trackEvent = jest.fn();
|
|
_analytics.trackSegmentEvent = jest.fn();
|
|
module.exports = _analytics;
|