2021-07-12 11:17:47 +00:00
|
|
|
import TestState from '../test-utils'
|
2021-06-25 10:28:52 +00:00
|
|
|
|
|
|
|
describe('arrow shape', () => {
|
2021-07-12 11:17:47 +00:00
|
|
|
const tt = new TestState()
|
|
|
|
tt.resetDocumentState().send('SELECTED_ARROW_TOOL').save()
|
|
|
|
|
2021-06-25 10:28:52 +00:00
|
|
|
it('creates shape', () => {
|
2021-07-01 14:03:02 +00:00
|
|
|
// TODO
|
2021-06-25 10:28:52 +00:00
|
|
|
null
|
|
|
|
})
|
|
|
|
|
|
|
|
it('cancels shape while creating', () => {
|
2021-07-01 14:03:02 +00:00
|
|
|
// TODO
|
2021-06-25 10:28:52 +00:00
|
|
|
null
|
|
|
|
})
|
|
|
|
|
|
|
|
it('moves shape', () => {
|
2021-07-01 14:03:02 +00:00
|
|
|
// TODO
|
2021-06-25 10:28:52 +00:00
|
|
|
null
|
|
|
|
})
|
|
|
|
|
|
|
|
it('rotates shape', () => {
|
2021-07-01 14:03:02 +00:00
|
|
|
// TODO
|
2021-06-25 10:28:52 +00:00
|
|
|
null
|
|
|
|
})
|
|
|
|
|
2021-07-01 14:03:02 +00:00
|
|
|
it('rotates shape in a group', () => {
|
|
|
|
// TODO
|
2021-06-25 10:28:52 +00:00
|
|
|
null
|
|
|
|
})
|
|
|
|
|
2021-07-01 14:03:02 +00:00
|
|
|
it('measures shape bounds', () => {
|
|
|
|
// TODO
|
2021-06-25 10:28:52 +00:00
|
|
|
null
|
|
|
|
})
|
|
|
|
|
2021-07-01 14:03:02 +00:00
|
|
|
it('measures shape rotated bounds', () => {
|
|
|
|
// TODO
|
|
|
|
null
|
|
|
|
})
|
|
|
|
|
|
|
|
it('transforms single shape', () => {
|
|
|
|
// TODO
|
2021-06-25 10:28:52 +00:00
|
|
|
null
|
|
|
|
})
|
|
|
|
|
|
|
|
it('transforms in a group', () => {
|
2021-07-01 14:03:02 +00:00
|
|
|
// TODO
|
2021-06-25 10:28:52 +00:00
|
|
|
null
|
|
|
|
})
|
|
|
|
|
|
|
|
/* -------------------- Specific -------------------- */
|
|
|
|
|
|
|
|
it('creates compass-aligned shape with shift key', () => {
|
2021-07-01 14:03:02 +00:00
|
|
|
// TODO
|
2021-06-25 10:28:52 +00:00
|
|
|
null
|
|
|
|
})
|
|
|
|
|
|
|
|
it('changes start handle', () => {
|
2021-07-01 14:03:02 +00:00
|
|
|
// TODO
|
2021-06-25 10:28:52 +00:00
|
|
|
null
|
|
|
|
})
|
|
|
|
|
|
|
|
it('changes end handle', () => {
|
2021-07-01 14:03:02 +00:00
|
|
|
// TODO
|
2021-06-25 10:28:52 +00:00
|
|
|
null
|
|
|
|
})
|
|
|
|
|
|
|
|
it('changes bend handle', () => {
|
2021-07-01 14:03:02 +00:00
|
|
|
// TODO
|
2021-06-25 10:28:52 +00:00
|
|
|
null
|
|
|
|
})
|
|
|
|
|
|
|
|
it('resets bend handle when double-pointed', () => {
|
2021-07-01 14:03:02 +00:00
|
|
|
// TODO
|
2021-06-25 10:28:52 +00:00
|
|
|
null
|
|
|
|
})
|
|
|
|
})
|