/* eslint-env mocha */ import React from "react" import expect from "expect" import { render } from "enzyme" import Markdown from "components/providers/markdown" import { Markdown as OAS3Markdown } from "corePlugins/oas3/wrap-components/markdown.js" describe.only("Markdown Script Sanitization", function() { describe("Swagger 2.0", function() { it("sanitizes ` const el = render() expect(el.html()).toEqual(`

script

\n
`) }) }) describe("OAS 3", function() { it("sanitizes ` const el = render() expect(el.html()).toEqual(`

script

`) }) }) })