test(test:unit-jest): fix all failing tests for this script
We needed to align new cheerio and enzyme APIS with tests. Refs #7341
This commit is contained in:
@@ -16,6 +16,6 @@ describe("UI-3199: Sanitized Markdown causing code examples to be double escaped
|
||||
let el = render(<Markdown {...props}/>)
|
||||
|
||||
expect(el.find("code").first().text()).toEqual("{\"abc\": \"def\"}\n")
|
||||
expect(el.find("code").first().html()).toEqual("{"abc": "def"}\n")
|
||||
expect(el.find("code").first().html()).toEqual("{\"abc\": \"def\"}\n")
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user