Code coverage report for src/components/task-step/step.cjsx

Statements: 72.73% (8 / 11)      Branches: 100% (0 / 0)      Functions: 0% (0 / 1)      Lines: 72.73% (8 / 11)      Ignored: none     

All files » src/components/task-step/ » step.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                                        
var AsyncButton, BS, CardBody, React, StepCard, StepPanel, _, ref;
 
React = require('react');
 
BS = require('react-bootstrap');
 
_ = require('underscore');
 
StepPanel = require('../../helpers/policies').StepPanel;
 
ref = require('openstax-react-components'), AsyncButton = ref.AsyncButton, CardBody = ref.CardBody;
 
StepCard = React.createClass({
  displayName: 'StepCard',
  render: function() {
    var children, courseId, footer, id, pinned, ref1, review, taskId;
    ref1 = this.props, pinned = ref1.pinned, courseId = ref1.courseId, id = ref1.id, taskId = ref1.taskId, review = ref1.review, children = ref1.children, footer = ref1.footer;
    return React.createElement(CardBody, {
      "className": 'task-step',
      "footer": footer,
      "pinned": pinned
    }, children);
  }
});
 
module.exports = StepCard;