diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-06-20 00:08:32 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-06-20 00:08:32 +0300 |
commit | 60082b335c09b27ebee3452a36cc62eb76df3480 (patch) | |
tree | 8a34e789590856679bca7955cda7fda06e257590 /spec/frontend/integrations | |
parent | ce493944f48fb2ad08a5381a7ed1f37ced637bd1 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/frontend/integrations')
-rw-r--r-- | spec/frontend/integrations/edit/components/dynamic_field_spec.js | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/spec/frontend/integrations/edit/components/dynamic_field_spec.js b/spec/frontend/integrations/edit/components/dynamic_field_spec.js index e5710641f81..d6d8733b290 100644 --- a/spec/frontend/integrations/edit/components/dynamic_field_spec.js +++ b/spec/frontend/integrations/edit/components/dynamic_field_spec.js @@ -147,6 +147,20 @@ describe('DynamicField', () => { .text(), ).toBe(defaultProps.help); }); + + it('renders description with help text as HTML', () => { + const helpHTML = 'The <strong>URL</strong> of the project'; + + createComponent({ + help: helpHTML, + }); + + expect( + findGlFormGroup() + .find('small') + .html(), + ).toContain(helpHTML); + }); }); describe('label text', () => { |