',
- '
',
+ '
',
' ',
diff --git a/js/tests/unit/modal.spec.js b/js/tests/unit/modal.spec.js
index 5729942e57..84a95c86ad 100644
--- a/js/tests/unit/modal.spec.js
+++ b/js/tests/unit/modal.spec.js
@@ -277,8 +277,7 @@ describe('Modal', () => {
fixtureEl.innerHTML = [
'
',
'
',
- '
',
- '
',
+ '
',
'
'
].join('')
@@ -303,8 +302,7 @@ describe('Modal', () => {
it('should set .modal\'s scroll top to 0', done => {
fixtureEl.innerHTML = [
'
',
- '
',
- '
',
+ '
',
'
'
].join('')
diff --git a/js/tests/unit/offcanvas.spec.js b/js/tests/unit/offcanvas.spec.js
index 191a9f8018..f4b0b64828 100644
--- a/js/tests/unit/offcanvas.spec.js
+++ b/js/tests/unit/offcanvas.spec.js
@@ -490,7 +490,7 @@ describe('Offcanvas', () => {
it('should call hide first, if another offcanvas is open', done => {
fixtureEl.innerHTML = [
- '
',
+ '
',
'
',
'
'
].join('')
@@ -512,7 +512,7 @@ describe('Offcanvas', () => {
it('should focus on trigger element after closing offcanvas', done => {
fixtureEl.innerHTML = [
- '
',
+ '
',
'
'
].join('')
@@ -536,7 +536,7 @@ describe('Offcanvas', () => {
it('should not focus on trigger element after closing offcanvas, if it is not visible', done => {
fixtureEl.innerHTML = [
- '
',
+ '
',
'
'
].join('')
diff --git a/js/tests/unit/tab.spec.js b/js/tests/unit/tab.spec.js
index 43d20438eb..bafa085526 100644
--- a/js/tests/unit/tab.spec.js
+++ b/js/tests/unit/tab.spec.js
@@ -114,7 +114,7 @@ describe('Tab', () => {
fixtureEl.innerHTML = [
'
',
'
',
'
',
diff --git a/js/tests/unit/tooltip.spec.js b/js/tests/unit/tooltip.spec.js
index 57a3d68410..f92b74d963 100644
--- a/js/tests/unit/tooltip.spec.js
+++ b/js/tests/unit/tooltip.spec.js
@@ -1112,7 +1112,8 @@ describe('Tooltip', () => {
it('should do nothing if the content is a child of the element', () => {
fixtureEl.innerHTML = [
'
',
- ''
+ ' ',
+ ''
].join('')
const tooltipEl = fixtureEl.querySelector('a')
@@ -1130,7 +1131,8 @@ describe('Tooltip', () => {
it('should add the content as a child of the element for jQuery elements', () => {
fixtureEl.innerHTML = [
'
',
- ''
+ ' ',
+ ''
].join('')
const tooltipEl = fixtureEl.querySelector('a')
@@ -1147,7 +1149,8 @@ describe('Tooltip', () => {
it('should add the child text content in the element', () => {
fixtureEl.innerHTML = [
'
',
- 'Tooltip
'
+ ' Tooltip
',
+ ''
].join('')
const tooltipEl = fixtureEl.querySelector('a')
@@ -1160,7 +1163,7 @@ describe('Tooltip', () => {
})
it('should add html without sanitize it', () => {
- fixtureEl.innerHTML = '
'
+ fixtureEl.innerHTML = ''
const tooltipEl = fixtureEl.querySelector('a')
const tooltip = new Tooltip(tooltipEl, {
@@ -1174,7 +1177,7 @@ describe('Tooltip', () => {
})
it('should add html sanitized', () => {
- fixtureEl.innerHTML = '
'
+ fixtureEl.innerHTML = ''
const tooltipEl = fixtureEl.querySelector('a')
const tooltip = new Tooltip(tooltipEl, {
@@ -1193,7 +1196,7 @@ describe('Tooltip', () => {
})
it('should add text content', () => {
- fixtureEl.innerHTML = '
'
+ fixtureEl.innerHTML = ''
const tooltipEl = fixtureEl.querySelector('a')
const tooltip = new Tooltip(tooltipEl)
@@ -1206,7 +1209,7 @@ describe('Tooltip', () => {
describe('_getTitle', () => {
it('should return the title', () => {
- fixtureEl.innerHTML = '
'
+ fixtureEl.innerHTML = ''
const tooltipEl = fixtureEl.querySelector('a')
const tooltip = new Tooltip(tooltipEl)