BigW Consortium Gitlab

Commit 3dfce3ab by Phil Hughes

Fixed karma spec with elements not appearing in DOM

parent 0c55c889
......@@ -10,6 +10,7 @@ describe('Description component', () => {
if (!document.querySelector('.issuable-meta')) {
const metaData = document.createElement('div');
metaData.classList.add('issuable-meta');
metaData.innerHTML = '<span id="task_status"></span><span id="task_status_short"></span>';
document.body.appendChild(metaData);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment