1
0
Fork 0

fix(octoplushy): Monorepo integration and tests

This commit is contained in:
joostdecock 2022-07-31 15:22:50 +02:00
parent 68c49c64ae
commit e7cb4f4f5a
3 changed files with 4 additions and 7 deletions

View file

@ -2,7 +2,7 @@
"name": "@freesewing/octoplushy",
"version": "2.21.3",
"description": "A FreeSewing pattern for an octopus plushy toy",
"author": "woutervdub (https://github.com/woutervdub",
"author": "woutervdub (https://github.com/woutervdub)",
"homepage": "https://freesewing.org/",
"repository": "github:freesewing/freesewing",
"license": "MIT",

View file

@ -1,5 +1,4 @@
export default function (partNumber, part) {
console.log({ part: part })
const {
options,
Point,
@ -233,7 +232,6 @@ export default function (partNumber, part) {
points.legMiddle,
points.legTopLeft.x
)
console.log({ skirtLegLeft: points.skirtLegLeft })
points.skirtLegRight = points.skirtLegLeft.flipX(points.sectionTop)
paths.legLeftLine = new Path()
.move(points.skirtLegLeft)

View file

@ -12,10 +12,9 @@ import { testPatternSampling } from '../../../tests/patterns/sampling.mjs'
const expect = chai.expect
// Test config
testPatternConfig(
"{{name}}",
"octoplushy",
new Pattern(),
expect,
models,
@ -24,7 +23,7 @@ testPatternConfig(
// Test drafting
testPatternDrafting(
"{{name}}",
"octoplushy",
Pattern,
expect,
models,
@ -33,7 +32,7 @@ testPatternDrafting(
// Test sampling
testPatternSampling(
"{{name}}",
"octoplushy",
Pattern,
expect,
models,