/* eslint-env mocha */importReactfrom"react"importexpectfrom"expect"import{render}from"enzyme"importMarkdownfrom"components/providers/markdown"describe("UI-3279: Empty Markdown inputs causing bare `undefined` in output",function(){it("should return no text for `null` as source input",function(){letprops={source:null}letel=render(<Markdown{...props}/>)expect(el.text()).toEqual("")})it("should return no text for `undefined` as source input",function(){letprops={source:undefined}letel=render(<Markdown{...props}/>)expect(el.text()).toEqual("")})it("should return no text for empty string as source input",function(){letprops={source:""}letel=render(<Markdown{...props}/>)expect(el.text()).toEqual("")})})