wip: error handling and nextTick for time slicing

This commit is contained in:
Evan You
2018-11-02 06:08:33 +09:00
parent d5862d8c51
commit d70b7d6dd5
13 changed files with 286 additions and 191 deletions

View File

@@ -44,7 +44,7 @@ describe('attribute fallthrough', () => {
const root = document.createElement('div')
document.body.appendChild(root)
render(h(Hello), root)
await render(h(Hello), root)
const node = root.children[0] as HTMLElement
@@ -110,7 +110,7 @@ describe('attribute fallthrough', () => {
const root = document.createElement('div')
document.body.appendChild(root)
render(h(Hello), root)
await render(h(Hello), root)
const node = root.children[0] as HTMLElement
@@ -190,7 +190,7 @@ describe('attribute fallthrough', () => {
const root = document.createElement('div')
document.body.appendChild(root)
render(h(Hello), root)
await render(h(Hello), root)
const node = root.children[0] as HTMLElement