38 lines
803 B
TypeScript
38 lines
803 B
TypeScript
// reference: https://github.com/vuejs/vue/blob/dev/test/unit/modules/vdom/patch/children.spec.js
|
|
|
|
describe('renderer: unkeyed children', () => {
|
|
test.todo('append')
|
|
|
|
test.todo('prepend')
|
|
|
|
test.todo('insert in middle')
|
|
|
|
test.todo('insert at beginning and end')
|
|
|
|
test.todo('insert to empty parent')
|
|
|
|
test.todo('shift with offset')
|
|
|
|
test.todo('remove from beginning')
|
|
|
|
test.todo('remove from end')
|
|
|
|
test.todo('remove from middle')
|
|
|
|
test.todo('moving single child forward')
|
|
|
|
test.todo('moving single child backwards')
|
|
|
|
test.todo('moving single child to end')
|
|
|
|
test.todo('swap first and last')
|
|
|
|
test.todo('move to left & replace')
|
|
|
|
test.todo('generic reorder')
|
|
|
|
test.todo('should not de-opt when both head and tail change')
|
|
})
|
|
|
|
describe('renderer: keyed children', () => {})
|