Code coverage report for node_modules/babel-runtime/helpers/inherits.js

Statements: 85.71% (6 / 7)      Branches: 62.5% (5 / 8)      Functions: 100% (1 / 1)      Lines: 83.33% (5 / 6)      Ignored: none     

All files » node_modules/babel-runtime/helpers/ » inherits.js
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19    3 11       11               11     3
"use strict";
 
exports["default"] = function (subClass, superClass) {
  Iif (typeof superClass !== "function" && superClass !== null) {
    throw new TypeError("Super expression must either be null or a function, not " + typeof superClass);
  }
 
  subClass.prototype = Object.create(superClass && superClass.prototype, {
    constructor: {
      value: subClass,
      enumerable: false,
      writable: true,
      configurable: true
    }
  });
  Eif (superClass) subClass.__proto__ = superClass;
};
 
exports.__esModule = true;