vue3-core/packages/server-renderer/__tests__/renderToString.spec.ts

32 lines
704 B
TypeScript
Raw Normal View History

2020-01-28 06:23:42 +08:00
// import { renderToString, renderComponent } from '../src'
describe('ssr: renderToString', () => {
2020-01-29 07:48:27 +08:00
describe('elements', () => {
test('text children', () => {})
2020-01-28 06:23:42 +08:00
2020-01-29 07:48:27 +08:00
test('array children', () => {})
2020-01-28 06:23:42 +08:00
2020-01-29 07:48:27 +08:00
test('void elements', () => {})
2020-01-28 06:23:42 +08:00
2020-01-29 07:48:27 +08:00
test('innerHTML', () => {})
2020-01-28 06:23:42 +08:00
2020-01-29 07:48:27 +08:00
test('textContent', () => {})
2020-01-28 06:23:42 +08:00
2020-01-29 07:48:27 +08:00
test('textarea value', () => {})
})
2020-01-28 06:23:42 +08:00
2020-01-29 07:48:27 +08:00
describe('components', () => {
test('nested components', () => {})
test('nested components with optimized slots', () => {})
test('mixing optimized / vnode components', () => {})
test('nested components with vnode slots', () => {})
test('async components', () => {})
test('parallel async components', () => {})
})
2020-01-28 06:23:42 +08:00
})