dist/wscn-react-vendor.js
function (root, className) {
    var all = ReactTestUtils.scryRenderedDOMComponentsWithClass(root, className);
    if (all.length !== 1) {
      throw new Error('Did not find exactly one match (found: ' + all.length + ') ' + 'for class:' + className);
    }
    return all[0];
  }
function (root, className) {
    var all = ReactTestUtils.scryRenderedDOMComponentsWithClass(root, className);
    if (all.length !== 1) {
      throw new Error('Did not find exactly one match (found: ' + all.length + ') ' + 'for class:' + className);
    }
    return all[0];
  }
function ( root , className ) { var all = ReactTestUtils . scryRenderedDOMComponentsWithClass ( root , className ) ; if ( all . length !== 1 ) { throw new Error ( 'Did not find exactly one match (found: ' + all . length + ') ' + 'for class:' + className ) ; } return all [ 0 ] ; }
Like scryRenderedDOMComponentsWithClass but expects there to be one result,
and returns that one result, or throws exception if there is any other
number of matches besides one.
@return {!ReactDOMComponent} The one match.
Like scryRenderedDOMComponentsWithClass but expects there to be one result and returns that one result or throws exception if there is any other number of matches besides one .