Skip to content
#

track

Here are 140 public repositories matching this topic...

tizmagik
tizmagik commented Aug 19, 2019

I've been meaning to provide this as importable within react-tracking via something like: import track, { mockTrackEvent, TrackingPropType } from 'react-tracking/mock'; but haven't had a chance yet. PRs welcome! 😁

/* __mocks__/react-tracking.js */

const PropTypes = require('prop-types');

const mockTrackEvent = jest.fn();

module.exports.TrackingPropType = PropTypes.shape();

Improve this page

Add a description, image, and links to the track topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the track topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.