feat(runtime-core): async component support

This commit is contained in:
Evan You
2020-03-21 16:01:08 -04:00
parent d425818901
commit c3bb3169f4
5 changed files with 629 additions and 0 deletions

View File

@@ -379,6 +379,9 @@ describe('SSR hydration', () => {
expect(container.innerHTML).toMatch(`<span>2</span><span>3</span>`)
})
// TODO
test.todo('async component')
describe('mismatch handling', () => {
test('text node', () => {
const { container } = mountWithHydration(`foo`, () => 'bar')