App.test.js 510 B

1234567891011121314151617
  1. "use strict";
  2. var _react = _interopRequireDefault(require("react"));
  3. var _reactDom = _interopRequireDefault(require("react-dom"));
  4. var _App = _interopRequireDefault(require("./App"));
  5. function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
  6. it('renders without crashing', function () {
  7. var div = document.createElement('div');
  8. _reactDom.default.render(_react.default.createElement(_App.default, null), div);
  9. _reactDom.default.unmountComponentAtNode(div);
  10. });