"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "test/ssr/ssr-string.spec.js" between
vue-2.6.13.tar.gz and vue-2.6.14.tar.gz

About: Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

ssr-string.spec.js  (vue-2.6.13):ssr-string.spec.js  (vue-2.6.14)
skipping to change at line 697 skipping to change at line 697
}) })
} }
}), (err, result) => { }), (err, result) => {
Vue.config.silent = false Vue.config.silent = false
expect(err).toBeTruthy() expect(err).toBeTruthy()
expect(result).toBeUndefined() expect(result).toBeUndefined()
done() done()
}) })
}) })
// #11963, #10391
it('renders async children passed in slots', done => {
const Parent = {
template: `<div><slot name="child"/></div>`
}
const Child = {
template: `<p>child</p>`
}
renderVmWithOptions({
template: `
<Parent>
<template #child>
<Child/>
</template>
</Parent>
`,
components: {
Parent,
Child: () => Promise.resolve(Child)
}
}, result => {
expect(result).toContain(
`<div data-server-rendered="true"><p>child</p></div>`
)
done()
})
})
it('everything together', done => { it('everything together', done => {
renderVmWithOptions({ renderVmWithOptions({
template: ` template: `
<div> <div>
<p class="hi">yoyo</p> <p class="hi">yoyo</p>
<div id="ho" :class="{ red: isRed }"></div> <div id="ho" :class="{ red: isRed }"></div>
<span>{{ test }}</span> <span>{{ test }}</span>
<input :value="test"> <input :value="test">
<img :src="imageUrl"> <img :src="imageUrl">
<test></test> <test></test>
 End of changes. 1 change blocks. 
0 lines changed or deleted 28 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)