From 3dfce3ab6b092ec40dc95fa292b87f841abf0eba Mon Sep 17 00:00:00 2001 From: Phil Hughes Date: Thu, 11 May 2017 14:34:56 +0100 Subject: Fixed karma spec with elements not appearing in DOM --- spec/javascripts/issue_show/components/description_spec.js | 1 + 1 file changed, 1 insertion(+) (limited to 'spec') diff --git a/spec/javascripts/issue_show/components/description_spec.js b/spec/javascripts/issue_show/components/description_spec.js index df9941a2bdb..408349cc42d 100644 --- a/spec/javascripts/issue_show/components/description_spec.js +++ b/spec/javascripts/issue_show/components/description_spec.js @@ -10,6 +10,7 @@ describe('Description component', () => { if (!document.querySelector('.issuable-meta')) { const metaData = document.createElement('div'); metaData.classList.add('issuable-meta'); + metaData.innerHTML = ''; document.body.appendChild(metaData); } -- cgit v1.2.1