1
0
Fork 0

chore(core): Migrated to bezier-js 6

This commit is contained in:
Joost De Cock 2022-09-28 21:25:06 +02:00
parent d31b0f5108
commit fba25ed02b
5 changed files with 117 additions and 118 deletions

View file

@ -184,8 +184,8 @@ describe('Path', () => {
const design = new Design({ parts: [part] })
const pattern = new design()
pattern.draft().render()
expect(round(pattern.parts[0].test.paths.offset.bottomRight.x)).to.equal(119.26)
expect(round(pattern.parts[0].test.paths.offset.bottomRight.y)).to.equal(43.27)
expect(round(pattern.parts[0].test.paths.offset.bottomRight.x)).to.equal(119.86)
expect(round(pattern.parts[0].test.paths.offset.bottomRight.y)).to.equal(43.49)
})
it('Should return the length of a line', () => {