diff --git a/js/tests/README.md b/js/tests/README.md index 8823d05dc5..41fddb9a31 100644 --- a/js/tests/README.md +++ b/js/tests/README.md @@ -51,7 +51,7 @@ describe('getInstance', () => { // Asynchronous test it('should show a tooltip without the animation', done => { - fixtureEl.innerHTML = '' + fixtureEl.innerHTML = '' const tooltipEl = fixtureEl.querySelector('a') const tooltip = new Tooltip(tooltipEl, { diff --git a/js/tests/unit/button.spec.js b/js/tests/unit/button.spec.js index a3c95be1ba..f7caf23f62 100644 --- a/js/tests/unit/button.spec.js +++ b/js/tests/unit/button.spec.js @@ -143,7 +143,7 @@ describe('Button', () => { }) it('should add focus class on focus event', () => { - fixtureEl.innerHTML = '' + fixtureEl.innerHTML = '' const btn = fixtureEl.querySelector('.btn') const input = fixtureEl.querySelector('input') @@ -155,7 +155,7 @@ describe('Button', () => { }) it('should not add focus class', () => { - fixtureEl.innerHTML = '' + fixtureEl.innerHTML = '' const btn = fixtureEl.querySelector('button') const input = fixtureEl.querySelector('input') @@ -167,7 +167,7 @@ describe('Button', () => { }) it('should remove focus class on blur event', () => { - fixtureEl.innerHTML = '' + fixtureEl.innerHTML = '' const btn = fixtureEl.querySelector('.btn') const input = fixtureEl.querySelector('input') @@ -179,7 +179,7 @@ describe('Button', () => { }) it('should not remove focus class on blur event', () => { - fixtureEl.innerHTML = '' + fixtureEl.innerHTML = '' const btn = fixtureEl.querySelector('button') const input = fixtureEl.querySelector('input') @@ -211,7 +211,7 @@ describe('Button', () => { fixtureEl.innerHTML = [ '