@kiwicom/smart-faq
Version:
Smart FAQ
19 lines (13 loc) • 715 B
JavaScript
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard");
var React = _interopRequireWildcard(require("react"));
var _enzyme = require("enzyme");
var _Markdown = _interopRequireDefault(require("../Markdown"));
// @flow
describe('Markdown', function () {
it('should match snapshot', function () {
var result = (0, _enzyme.mount)(React.createElement(_Markdown.default, null, "# Hello World [this is my url](https://www.kiwi.com/) [this is my second url](https://www.kiwi.com/) [and this is third url](https://www.kiwi.com/)"));
expect(result).toMatchSnapshot();
});
});
;