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

Statements: 83.33% (5 / 6)      Branches: 100% (0 / 0)      Functions: 0% (0 / 1)      Lines: 83.33% (5 / 6)      Ignored: none     

All files » src/components/scores/ » external-cell.cjsx
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23                                    
var CellStatusMixin, React, STATUS;
 
React = require('react');
 
CellStatusMixin = require('./cell-status-mixin');
 
STATUS = {
  'completed': 'Clicked',
  'in_progress': 'Viewed',
  'not_started': 'Not started'
};
 
module.exports = React.createClass({
  displayName: 'ExternalCell',
  mixins: [CellStatusMixin],
  render: function() {
    return this.renderLink({
      message: STATUS[this.props.task.status]
    });
  }
});