Adds todo tests
This commit is contained in:
parent
0dffdd2d29
commit
72d1c06014
3 changed files with 21 additions and 1 deletions
|
@ -53,5 +53,8 @@ describe('When snapping', () => {
|
||||||
it.todo('Cleans up snap lines when cancelled')
|
it.todo('Cleans up snap lines when cancelled')
|
||||||
it.todo('Cleans up snap lines when completed')
|
it.todo('Cleans up snap lines when completed')
|
||||||
it.todo('Cleans up snap lines when starting to clone / not clone')
|
it.todo('Cleans up snap lines when starting to clone / not clone')
|
||||||
it.todo('Does not snap rotated shapes')
|
it.todo('Snaps the rotated bounding box of rotated shapes')
|
||||||
|
it.todo('Snaps to a shape on screen')
|
||||||
|
it.todo('Does not snap to a shape off screen.')
|
||||||
|
it.todo('Snaps while panning.')
|
||||||
})
|
})
|
||||||
|
|
|
@ -232,3 +232,17 @@ describe('When creating with a transform session', () => {
|
||||||
expect(tlstate.getShape('rect1')).toBe(undefined)
|
expect(tlstate.getShape('rect1')).toBe(undefined)
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
|
describe('When snapping', () => {
|
||||||
|
it.todo('Does not snap when moving quicky')
|
||||||
|
it.todo('Snaps only matching edges when moving slowly')
|
||||||
|
it.todo('Snaps any edge to any edge when moving very slowly')
|
||||||
|
it.todo('Snaps a clone to its parent')
|
||||||
|
it.todo('Cleans up snap lines when cancelled')
|
||||||
|
it.todo('Cleans up snap lines when completed')
|
||||||
|
it.todo('Cleans up snap lines when starting to clone / not clone')
|
||||||
|
it.todo('Snaps the rotated bounding box of rotated shapes')
|
||||||
|
it.todo('Snaps to a shape on screen')
|
||||||
|
it.todo('Does not snap to a shape off screen.')
|
||||||
|
it.todo('Snaps while panning.')
|
||||||
|
})
|
||||||
|
|
|
@ -336,6 +336,9 @@ describe('When snapping', () => {
|
||||||
it.todo('Cleans up snap lines when completed')
|
it.todo('Cleans up snap lines when completed')
|
||||||
it.todo('Cleans up snap lines when starting to clone / not clone')
|
it.todo('Cleans up snap lines when starting to clone / not clone')
|
||||||
it.todo('Snaps the rotated bounding box of rotated shapes')
|
it.todo('Snaps the rotated bounding box of rotated shapes')
|
||||||
|
it.todo('Snaps to a shape on screen')
|
||||||
|
it.todo('Does not snap to a shape off screen.')
|
||||||
|
it.todo('Snaps while panning.')
|
||||||
})
|
})
|
||||||
|
|
||||||
describe('When translating linked shapes', () => {
|
describe('When translating linked shapes', () => {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue