Skip to content

Instantly share code, notes, and snippets.

💭
⚾️ ⚾️ ⚾️

Amir Djavaherian adjavaherian

💭
⚾️ ⚾️ ⚾️
Block or report user

Report or block adjavaherian

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@adjavaherian
adjavaherian / Analytics.jsx
Last active Dec 13, 2017 — forked from fredrick/App-example-test.js
Here's how we have been pre-processing Jest tests for React.js components which require React-Router or Fluxxor.
View Analytics.jsx
//./app/modules/Analytics.jsx
var React = require('react');
var Fluxxor = require('fluxxor');
var FluxMixin = Fluxxor.FluxMixin(React);
var paths = require('../helpers/paths');
var Analytics = React.createClass({
displayName: 'Analytics',
mixins: [FluxMixin],
You can’t perform that action at this time.