vue3-yuanma/packages/server-renderer/__tests__/renderProps.spec.ts

30 lines
602 B
TypeScript
Raw Normal View History

2020-01-27 23:06:37 +00:00
describe('ssr: render props', () => {
2020-01-27 22:23:42 +00:00
test('class', () => {})
test('styles', () => {
// only render numbers for properties that allow no unit numbers
})
describe('attrs', () => {
test('basic', () => {})
test('boolean attrs', () => {})
test('enumerated attrs', () => {})
test('skip falsy values', () => {})
})
describe('domProps', () => {
test('innerHTML', () => {})
test('textContent', () => {})
test('textarea', () => {})
test('other renderable domProps', () => {
// also test camel to kebab case conversion for some props
})
})
})