Skip to content

Commit

Permalink
refactor: reuse SSRContext from server-renderer package
Browse files Browse the repository at this point in the history
  • Loading branch information
CyberAP authored and yyx990803 committed Jun 26, 2020
1 parent 1f0d432 commit 8c675b5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/runtime-core/__tests__/hydration.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,8 @@ import {
defineAsyncComponent,
defineComponent
} from '@vue/runtime-dom'
import { renderToString } from '@vue/server-renderer'
import { renderToString, SSRContext } from '@vue/server-renderer'
import { mockWarn } from '@vue/shared'
import { SSRContext } from 'packages/server-renderer/src/render'

function mountWithHydration(html: string, render: () => any) {
const container = document.createElement('div')
Expand Down

0 comments on commit 8c675b5

Please sign in to comment.