Skip to content

Commit ff500bc

Browse files
committed
Run prettier
1 parent 006f161 commit ff500bc

File tree

1 file changed

+16
-12
lines changed

1 file changed

+16
-12
lines changed

test/specs/mount.spec.js

Lines changed: 16 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -161,20 +161,24 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'mount', () => {
161161
expect(wrapper.html()).to.equal(`<div>foo</div>`)
162162
})
163163

164-
itDoNotRunIf(process.env.TEST_ENV === 'node', 'compiles templates from querySelector', () => {
165-
const template = window.createElement('div')
166-
template.setAttribute('id', 'foo')
167-
template.innerHTML = '<div>foo</div>'
168-
window.document.body.appendChild(template)
164+
itDoNotRunIf(
165+
process.env.TEST_ENV === 'node',
166+
'compiles templates from querySelector',
167+
() => {
168+
const template = window.createElement('div')
169+
template.setAttribute('id', 'foo')
170+
template.innerHTML = '<div>foo</div>'
171+
window.document.body.appendChild(template)
169172

170-
const wrapper = mount({
171-
template: '#foo'
172-
})
173-
expect(wrapper.vm).to.be.an('object')
174-
expect(wrapper.html()).to.equal(`<div>foo</div>`)
173+
const wrapper = mount({
174+
template: '#foo'
175+
})
176+
expect(wrapper.vm).to.be.an('object')
177+
expect(wrapper.html()).to.equal(`<div>foo</div>`)
175178

176-
window.body.removeChild(template)
177-
})
179+
window.body.removeChild(template)
180+
}
181+
)
178182

179183
itDoNotRunIf(vueVersion < 2.3, 'overrides methods', () => {
180184
const stub = sandbox.stub()

0 commit comments

Comments
 (0)