"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");

var _react = _interopRequireDefault(require("react"));

var _SkeletonText = _interopRequireDefault(require("../SkeletonText"));

var _enzyme = require("enzyme");

describe('SkeletonText', function () {
  describe('Renders as expected', function () {
    var wrapper = (0, _enzyme.shallow)( /*#__PURE__*/_react.default.createElement(_SkeletonText.default, null));
    it('Has the expected classes', function () {
      expect(wrapper.hasClass('wfp--skeleton__text')).toEqual(true);
    });
  });
});
describe('SkeletonText Heading', function () {
  describe('Renders as expected', function () {
    var wrapper = (0, _enzyme.shallow)( /*#__PURE__*/_react.default.createElement(_SkeletonText.default, {
      heading: true
    }));
    it('Has the expected classes', function () {
      expect(wrapper.hasClass('wfp--skeleton__heading')).toEqual(true);
    });
  });
});