Code coverage report for src/components/navbar/username.cjsx

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

All files » src/components/navbar/ » username.cjsx
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18             128×          
var BindStoreMixin, CurrentUserStore, React, UserName;
 
React = require('react');
 
BindStoreMixin = require('../bind-store-mixin');
 
CurrentUserStore = require('../../flux/current-user').CurrentUserStore;
 
UserName = React.createClass({
  displayName: 'UserName',
  render: function() {
    return React.createElement("span", React.__spread({}, this.props), CurrentUserStore.getName());
  }
});
 
module.exports = UserName;