mirror of
https://gitee.com/vuejs/vue.git
synced 2024-12-04 04:57:40 +08:00
fix eslint
This commit is contained in:
parent
b791c5722f
commit
827ac27a96
@ -36,6 +36,7 @@ describe('SSR: bundle renderer', () => {
|
|||||||
createRenderer('app.js', renderer => {
|
createRenderer('app.js', renderer => {
|
||||||
const context = { url: '/test' }
|
const context = { url: '/test' }
|
||||||
renderer.renderToString(context, (err, res) => {
|
renderer.renderToString(context, (err, res) => {
|
||||||
|
expect(err).toBeNull()
|
||||||
expect(res).toBe('<div server-rendered="true">/test</div>')
|
expect(res).toBe('<div server-rendered="true">/test</div>')
|
||||||
expect(context.msg).toBe('hello')
|
expect(context.msg).toBe('hello')
|
||||||
done()
|
done()
|
||||||
|
Loading…
Reference in New Issue
Block a user