You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
expect(access.node.props.content).to.equal('Contact myemail@myemail.org if you would like to gain (read, write, comment, contributor, export, search) access to the non-public parts of this database')
122
122
})
123
+
124
+
it('should support markdown formatted text',function(){
Copy file name to clipboardExpand all lines: app/components/DataList/DataList.test.js
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@ describe('Component::DataList', function () {
18
18
'fieldDBtype': 'DataList',
19
19
'id': 'orthography___',
20
20
'title': 'Search for orthography:არ',
21
-
'description': 'Showing 4 of 4 results, you can click on any of the items to see more details to further refine your search.',
21
+
'description': 'something with a \n\n* http://link.to.somwhere in it',
22
22
'version': 'v4.49.5',
23
23
docs: [{
24
24
id: 'd3bf748b16ac4054680f27a6401efdfa'
@@ -43,7 +43,7 @@ describe('Component::DataList', function () {
43
43
letdescription=doc.find('p')
44
44
expect(description).to.exist
45
45
expect(description.length).to.equal(1)
46
-
expect(description.node.props.children).to.equal('Showing 4 of 4 results, you can click on any of the items to see more details to further refine your search.')
46
+
expect(description.node.props.dangerouslySetInnerHTML.__html).to.equal('<p>something with a </p>\n<ul>\n<li><a href="http://link.to.somwhere">http://link.to.somwhere</a> in it</li>\n</ul>\n')
0 commit comments