41 lines
691 B
TypeScript
41 lines
691 B
TypeScript
|
import TestState from '../test-utils'
|
||
|
|
||
|
describe('group command', () => {
|
||
|
const tt = new TestState()
|
||
|
tt.resetDocumentState()
|
||
|
|
||
|
describe('when one item is selected', () => {
|
||
|
it('does not change anything', () => {
|
||
|
// TODO
|
||
|
null
|
||
|
})
|
||
|
})
|
||
|
|
||
|
describe('when multiple items are selected', () => {
|
||
|
it('does command', () => {
|
||
|
// TODO
|
||
|
null
|
||
|
})
|
||
|
|
||
|
it('un-does command', () => {
|
||
|
// TODO
|
||
|
null
|
||
|
})
|
||
|
|
||
|
it('re-does command', () => {
|
||
|
// TODO
|
||
|
null
|
||
|
})
|
||
|
})
|
||
|
|
||
|
it('groups shapes with different parents', () => {
|
||
|
// TODO
|
||
|
null
|
||
|
})
|
||
|
|
||
|
it('does not group a parent group shape and its child', () => {
|
||
|
// TODO
|
||
|
null
|
||
|
})
|
||
|
})
|