refactor: simplify suspense ssr + adjust behavior

This commit is contained in:
Evan You
2020-03-16 15:38:35 -04:00
parent eb5b32fead
commit 38f0269765
7 changed files with 131 additions and 223 deletions

View File

@@ -8,11 +8,11 @@ import {
ref,
defineComponent
} from 'vue'
import { escapeHtml, mockError } from '@vue/shared'
import { escapeHtml, mockWarn } from '@vue/shared'
import { renderToString, renderComponent } from '../src/renderToString'
import { ssrRenderSlot } from '../src/helpers/ssrRenderSlot'
mockError()
mockWarn()
describe('ssr: renderToString', () => {
test('should apply app context', async () => {