Code coverage report for src/components/scores/name-cell-cc.cjsx

Statements: 85.71% (6 / 7)      Branches: 100% (0 / 0)      Functions: 0% (0 / 1)      Lines: 85.71% (6 / 7)      Ignored: none     

All files » src/components/scores/ » name-cell-cc.cjsx
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37                                                              
var Name, React, Router, TOOLTIP_OPTIONS;
 
React = require('react');
 
Router = require('react-router');
 
Name = require('../name');
 
TOOLTIP_OPTIONS = {
  enable: true,
  placement: 'top',
  delayShow: 1500,
  delayHide: 150
};
 
module.exports = React.createClass({
  displayName: 'CCNameCell',
  propTypes: {
    courseId: React.PropTypes.string.isRequired,
    student: React.PropTypes.shape({
      first_name: React.PropTypes.string,
      last_name: React.PropTypes.string
    }).isRequired
  },
  render: function() {
    return React.createElement("div", {
      "className": "name-cell"
    }, React.createElement(Name, React.__spread({
      "tooltip": TOOLTIP_OPTIONS,
      "className": "name"
    }, this.props.student)), React.createElement("div", {
      "className": "student-id"
    }, this.props.student.student_identifier));
  }
});