2021-06-25 10:28:52 +00:00
|
|
|
import state from 'state'
|
|
|
|
import * as json from './__mocks__/document.json'
|
|
|
|
|
|
|
|
state.reset()
|
|
|
|
state.send('MOUNTED').send('LOADED_FROM_FILE', { json: JSON.stringify(json) })
|
|
|
|
state.send('CLEARED_PAGE')
|
|
|
|
|
|
|
|
describe('arrow shape', () => {
|
|
|
|
it('creates a 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('removes shape on undo and restores it on redo', () => {
|
2021-07-01 14:03:02 +00:00
|
|
|
// TODO
|
2021-06-25 10:28:52 +00:00
|
|
|
null
|
|
|
|
})
|
|
|
|
|
|
|
|
it('does not create shape when readonly', () => {
|
2021-07-01 14:03:02 +00:00
|
|
|
// TODO
|
2021-06-25 10:28:52 +00:00
|
|
|
null
|
|
|
|
})
|
|
|
|
})
|