1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-18 19:31:35 +02:00

tests: remove extra spaces, unneeded arrays and add missing newlines

This commit is contained in:
XhmikosR
2021-11-26 09:16:59 +02:00
parent eb54e1a1ce
commit f8f9dc3b5c
18 changed files with 145 additions and 157 deletions

View File

@@ -232,6 +232,7 @@ describe('Backdrop', () => {
})
})
})
describe('Config', () => {
describe('rootElement initialization', () => {
it('Should be appended on "document.body" by default', done => {
@@ -258,10 +259,7 @@ describe('Backdrop', () => {
})
it('Should appended on any element given by the proper config', done => {
fixtureEl.innerHTML = [
'<div id="wrapper">',
'</div>'
].join('')
fixtureEl.innerHTML = '<div id="wrapper"></div>'
const wrapper = fixtureEl.querySelector('#wrapper')
const instance = new Backdrop({