Fix tests
This commit is contained in:
parent
915a7ba194
commit
8bcb2e1154
2 changed files with 2 additions and 3 deletions
|
@ -5,7 +5,6 @@ import { CenterHandle } from './center-handle'
|
|||
import { RotateHandle } from './rotate-handle'
|
||||
import { CornerHandle } from './corner-handle'
|
||||
import { EdgeHandle } from './edge-handle'
|
||||
import { usePosition } from '+hooks'
|
||||
import { Container } from '+components/container'
|
||||
import { SVGContainer } from '+components/svg-container'
|
||||
|
||||
|
|
|
@ -100,7 +100,7 @@ describe('Arrow session', () => {
|
|||
.startHandleSession([200, 200], 'start')
|
||||
.updateHandleSession([91, 9])
|
||||
|
||||
expect(tlstate.bindings[0].point).toStrictEqual([0.67839, 0.125])
|
||||
expect(tlstate.bindings[0].point).toStrictEqual([0.68, 0.13])
|
||||
|
||||
tlstate.updateHandleSession([91, 9], false, false, true)
|
||||
})
|
||||
|
@ -112,7 +112,7 @@ describe('Arrow session', () => {
|
|||
.startHandleSession([200, 200], 'start')
|
||||
.updateHandleSession([91, 9])
|
||||
|
||||
expect(tlstate.bindings[0].point).toStrictEqual([0.67839, 0.125])
|
||||
expect(tlstate.bindings[0].point).toStrictEqual([0.68, 0.13])
|
||||
|
||||
tlstate.updateHandleSession([91, 9], false, false, true)
|
||||
|
||||
|
|
Loading…
Reference in a new issue