wip(ssr): further restructure
This commit is contained in:
29
packages/server-renderer/__tests__/renderProps.spec.ts
Normal file
29
packages/server-renderer/__tests__/renderProps.spec.ts
Normal file
@@ -0,0 +1,29 @@
|
||||
describe('ssr: render props', () => {
|
||||
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
|
||||
})
|
||||
})
|
||||
})
|
||||
Reference in New Issue
Block a user