chore: Updated tests to use full bundle
This commit is contained in:
parent
ca4c5628df
commit
f70c0a5f62
118 changed files with 114 additions and 1828 deletions
|
@ -1,39 +0,0 @@
|
||||||
// This file is auto-generated.
|
|
||||||
// Changes you make will be overwritten.
|
|
||||||
const expect = require("chai").expect;
|
|
||||||
const models = require("@freesewing/models")
|
|
||||||
const patterns = require("@freesewing/pattern-info")
|
|
||||||
|
|
||||||
const Aaron = require('../dist')
|
|
||||||
|
|
||||||
// Shared tests
|
|
||||||
const testPatternConfig = require('../../../tests/patterns/config')
|
|
||||||
const testPatternDrafting = require('../../../tests/patterns/drafting')
|
|
||||||
const testPatternSampling = require('../../../tests/patterns/sampling')
|
|
||||||
|
|
||||||
// Test config
|
|
||||||
testPatternConfig(
|
|
||||||
'aaron',
|
|
||||||
new Aaron(),
|
|
||||||
expect,
|
|
||||||
models,
|
|
||||||
patterns
|
|
||||||
)
|
|
||||||
|
|
||||||
// Test drafting
|
|
||||||
testPatternDrafting(
|
|
||||||
'aaron',
|
|
||||||
Aaron,
|
|
||||||
expect,
|
|
||||||
models,
|
|
||||||
patterns
|
|
||||||
)
|
|
||||||
|
|
||||||
// Test sampling
|
|
||||||
testPatternSampling(
|
|
||||||
'aaron',
|
|
||||||
Aaron,
|
|
||||||
expect,
|
|
||||||
models,
|
|
||||||
patterns
|
|
||||||
)
|
|
|
@ -3,7 +3,7 @@
|
||||||
import chai from 'chai'
|
import chai from 'chai'
|
||||||
import models from '@freesewing/models'
|
import models from '@freesewing/models'
|
||||||
import patterns from '@freesewing/pattern-info'
|
import patterns from '@freesewing/pattern-info'
|
||||||
import Aaron from '../dist/index.mjs'
|
import Aaron from './dist/index.mjs'
|
||||||
|
|
||||||
// Shared tests
|
// Shared tests
|
||||||
import { testPatternConfig } from '../../../tests/patterns/config.mjs'
|
import { testPatternConfig } from '../../../tests/patterns/config.mjs'
|
||||||
|
|
|
@ -1,39 +0,0 @@
|
||||||
// This file is auto-generated.
|
|
||||||
// Changes you make will be overwritten.
|
|
||||||
const expect = require("chai").expect;
|
|
||||||
const models = require("@freesewing/models")
|
|
||||||
const patterns = require("@freesewing/pattern-info")
|
|
||||||
|
|
||||||
const Albert = require('../dist')
|
|
||||||
|
|
||||||
// Shared tests
|
|
||||||
const testPatternConfig = require('../../../tests/patterns/config')
|
|
||||||
const testPatternDrafting = require('../../../tests/patterns/drafting')
|
|
||||||
const testPatternSampling = require('../../../tests/patterns/sampling')
|
|
||||||
|
|
||||||
// Test config
|
|
||||||
testPatternConfig(
|
|
||||||
'albert',
|
|
||||||
new Albert(),
|
|
||||||
expect,
|
|
||||||
models,
|
|
||||||
patterns
|
|
||||||
)
|
|
||||||
|
|
||||||
// Test drafting
|
|
||||||
testPatternDrafting(
|
|
||||||
'albert',
|
|
||||||
Albert,
|
|
||||||
expect,
|
|
||||||
models,
|
|
||||||
patterns
|
|
||||||
)
|
|
||||||
|
|
||||||
// Test sampling
|
|
||||||
testPatternSampling(
|
|
||||||
'albert',
|
|
||||||
Albert,
|
|
||||||
expect,
|
|
||||||
models,
|
|
||||||
patterns
|
|
||||||
)
|
|
|
@ -3,7 +3,7 @@
|
||||||
import chai from 'chai'
|
import chai from 'chai'
|
||||||
import models from '@freesewing/models'
|
import models from '@freesewing/models'
|
||||||
import patterns from '@freesewing/pattern-info'
|
import patterns from '@freesewing/pattern-info'
|
||||||
import Albert from '../dist/index.mjs'
|
import Albert from './dist/index.mjs'
|
||||||
|
|
||||||
// Shared tests
|
// Shared tests
|
||||||
import { testPatternConfig } from '../../../tests/patterns/config.mjs'
|
import { testPatternConfig } from '../../../tests/patterns/config.mjs'
|
||||||
|
|
|
@ -1,39 +0,0 @@
|
||||||
// This file is auto-generated.
|
|
||||||
// Changes you make will be overwritten.
|
|
||||||
const expect = require("chai").expect;
|
|
||||||
const models = require("@freesewing/models")
|
|
||||||
const patterns = require("@freesewing/pattern-info")
|
|
||||||
|
|
||||||
const Bee = require('../dist')
|
|
||||||
|
|
||||||
// Shared tests
|
|
||||||
const testPatternConfig = require('../../../tests/patterns/config')
|
|
||||||
const testPatternDrafting = require('../../../tests/patterns/drafting')
|
|
||||||
const testPatternSampling = require('../../../tests/patterns/sampling')
|
|
||||||
|
|
||||||
// Test config
|
|
||||||
testPatternConfig(
|
|
||||||
'bee',
|
|
||||||
new Bee(),
|
|
||||||
expect,
|
|
||||||
models,
|
|
||||||
patterns
|
|
||||||
)
|
|
||||||
|
|
||||||
// Test drafting
|
|
||||||
testPatternDrafting(
|
|
||||||
'bee',
|
|
||||||
Bee,
|
|
||||||
expect,
|
|
||||||
models,
|
|
||||||
patterns
|
|
||||||
)
|
|
||||||
|
|
||||||
// Test sampling
|
|
||||||
testPatternSampling(
|
|
||||||
'bee',
|
|
||||||
Bee,
|
|
||||||
expect,
|
|
||||||
models,
|
|
||||||
patterns
|
|
||||||
)
|
|
|
@ -3,7 +3,7 @@
|
||||||
import chai from 'chai'
|
import chai from 'chai'
|
||||||
import models from '@freesewing/models'
|
import models from '@freesewing/models'
|
||||||
import patterns from '@freesewing/pattern-info'
|
import patterns from '@freesewing/pattern-info'
|
||||||
import Bee from '../dist/index.mjs'
|
import Bee from './dist/index.mjs'
|
||||||
|
|
||||||
// Shared tests
|
// Shared tests
|
||||||
import { testPatternConfig } from '../../../tests/patterns/config.mjs'
|
import { testPatternConfig } from '../../../tests/patterns/config.mjs'
|
||||||
|
|
|
@ -1,39 +0,0 @@
|
||||||
// This file is auto-generated.
|
|
||||||
// Changes you make will be overwritten.
|
|
||||||
const expect = require("chai").expect;
|
|
||||||
const models = require("@freesewing/models")
|
|
||||||
const patterns = require("@freesewing/pattern-info")
|
|
||||||
|
|
||||||
const Bella = require('../dist')
|
|
||||||
|
|
||||||
// Shared tests
|
|
||||||
const testPatternConfig = require('../../../tests/patterns/config')
|
|
||||||
const testPatternDrafting = require('../../../tests/patterns/drafting')
|
|
||||||
const testPatternSampling = require('../../../tests/patterns/sampling')
|
|
||||||
|
|
||||||
// Test config
|
|
||||||
testPatternConfig(
|
|
||||||
'bella',
|
|
||||||
new Bella(),
|
|
||||||
expect,
|
|
||||||
models,
|
|
||||||
patterns
|
|
||||||
)
|
|
||||||
|
|
||||||
// Test drafting
|
|
||||||
testPatternDrafting(
|
|
||||||
'bella',
|
|
||||||
Bella,
|
|
||||||
expect,
|
|
||||||
models,
|
|
||||||
patterns
|
|
||||||
)
|
|
||||||
|
|
||||||
// Test sampling
|
|
||||||
testPatternSampling(
|
|
||||||
'bella',
|
|
||||||
Bella,
|
|
||||||
expect,
|
|
||||||
models,
|
|
||||||
patterns
|
|
||||||
)
|
|
|
@ -3,7 +3,7 @@
|
||||||
import chai from 'chai'
|
import chai from 'chai'
|
||||||
import models from '@freesewing/models'
|
import models from '@freesewing/models'
|
||||||
import patterns from '@freesewing/pattern-info'
|
import patterns from '@freesewing/pattern-info'
|
||||||
import Bella from '../dist/index.mjs'
|
import Bella from './dist/index.mjs'
|
||||||
|
|
||||||
// Shared tests
|
// Shared tests
|
||||||
import { testPatternConfig } from '../../../tests/patterns/config.mjs'
|
import { testPatternConfig } from '../../../tests/patterns/config.mjs'
|
||||||
|
|
|
@ -1,39 +0,0 @@
|
||||||
// This file is auto-generated.
|
|
||||||
// Changes you make will be overwritten.
|
|
||||||
const expect = require("chai").expect;
|
|
||||||
const models = require("@freesewing/models")
|
|
||||||
const patterns = require("@freesewing/pattern-info")
|
|
||||||
|
|
||||||
const Benjamin = require('../dist')
|
|
||||||
|
|
||||||
// Shared tests
|
|
||||||
const testPatternConfig = require('../../../tests/patterns/config')
|
|
||||||
const testPatternDrafting = require('../../../tests/patterns/drafting')
|
|
||||||
const testPatternSampling = require('../../../tests/patterns/sampling')
|
|
||||||
|
|
||||||
// Test config
|
|
||||||
testPatternConfig(
|
|
||||||
'benjamin',
|
|
||||||
new Benjamin(),
|
|
||||||
expect,
|
|
||||||
models,
|
|
||||||
patterns
|
|
||||||
)
|
|
||||||
|
|
||||||
// Test drafting
|
|
||||||
testPatternDrafting(
|
|
||||||
'benjamin',
|
|
||||||
Benjamin,
|
|
||||||
expect,
|
|
||||||
models,
|
|
||||||
patterns
|
|
||||||
)
|
|
||||||
|
|
||||||
// Test sampling
|
|
||||||
testPatternSampling(
|
|
||||||
'benjamin',
|
|
||||||
Benjamin,
|
|
||||||
expect,
|
|
||||||
models,
|
|
||||||
patterns
|
|
||||||
)
|
|
|
@ -3,7 +3,7 @@
|
||||||
import chai from 'chai'
|
import chai from 'chai'
|
||||||
import models from '@freesewing/models'
|
import models from '@freesewing/models'
|
||||||
import patterns from '@freesewing/pattern-info'
|
import patterns from '@freesewing/pattern-info'
|
||||||
import Benjamin from '../dist/index.mjs'
|
import Benjamin from './dist/index.mjs'
|
||||||
|
|
||||||
// Shared tests
|
// Shared tests
|
||||||
import { testPatternConfig } from '../../../tests/patterns/config.mjs'
|
import { testPatternConfig } from '../../../tests/patterns/config.mjs'
|
||||||
|
|
|
@ -1,39 +0,0 @@
|
||||||
// This file is auto-generated.
|
|
||||||
// Changes you make will be overwritten.
|
|
||||||
const expect = require("chai").expect;
|
|
||||||
const models = require("@freesewing/models")
|
|
||||||
const patterns = require("@freesewing/pattern-info")
|
|
||||||
|
|
||||||
const Bent = require('../dist')
|
|
||||||
|
|
||||||
// Shared tests
|
|
||||||
const testPatternConfig = require('../../../tests/patterns/config')
|
|
||||||
const testPatternDrafting = require('../../../tests/patterns/drafting')
|
|
||||||
const testPatternSampling = require('../../../tests/patterns/sampling')
|
|
||||||
|
|
||||||
// Test config
|
|
||||||
testPatternConfig(
|
|
||||||
'bent',
|
|
||||||
new Bent(),
|
|
||||||
expect,
|
|
||||||
models,
|
|
||||||
patterns
|
|
||||||
)
|
|
||||||
|
|
||||||
// Test drafting
|
|
||||||
testPatternDrafting(
|
|
||||||
'bent',
|
|
||||||
Bent,
|
|
||||||
expect,
|
|
||||||
models,
|
|
||||||
patterns
|
|
||||||
)
|
|
||||||
|
|
||||||
// Test sampling
|
|
||||||
testPatternSampling(
|
|
||||||
'bent',
|
|
||||||
Bent,
|
|
||||||
expect,
|
|
||||||
models,
|
|
||||||
patterns
|
|
||||||
)
|
|
|
@ -3,7 +3,7 @@
|
||||||
import chai from 'chai'
|
import chai from 'chai'
|
||||||
import models from '@freesewing/models'
|
import models from '@freesewing/models'
|
||||||
import patterns from '@freesewing/pattern-info'
|
import patterns from '@freesewing/pattern-info'
|
||||||
import Bent from '../dist/index.mjs'
|
import Bent from './dist/index.mjs'
|
||||||
|
|
||||||
// Shared tests
|
// Shared tests
|
||||||
import { testPatternConfig } from '../../../tests/patterns/config.mjs'
|
import { testPatternConfig } from '../../../tests/patterns/config.mjs'
|
||||||
|
|
|
@ -1,39 +0,0 @@
|
||||||
// This file is auto-generated.
|
|
||||||
// Changes you make will be overwritten.
|
|
||||||
const expect = require("chai").expect;
|
|
||||||
const models = require("@freesewing/models")
|
|
||||||
const patterns = require("@freesewing/pattern-info")
|
|
||||||
|
|
||||||
const Breanna = require('../dist')
|
|
||||||
|
|
||||||
// Shared tests
|
|
||||||
const testPatternConfig = require('../../../tests/patterns/config')
|
|
||||||
const testPatternDrafting = require('../../../tests/patterns/drafting')
|
|
||||||
const testPatternSampling = require('../../../tests/patterns/sampling')
|
|
||||||
|
|
||||||
// Test config
|
|
||||||
testPatternConfig(
|
|
||||||
'breanna',
|
|
||||||
new Breanna(),
|
|
||||||
expect,
|
|
||||||
models,
|
|
||||||
patterns
|
|
||||||
)
|
|
||||||
|
|
||||||
// Test drafting
|
|
||||||
testPatternDrafting(
|
|
||||||
'breanna',
|
|
||||||
Breanna,
|
|
||||||
expect,
|
|
||||||
models,
|
|
||||||
patterns
|
|
||||||
)
|
|
||||||
|
|
||||||
// Test sampling
|
|
||||||
testPatternSampling(
|
|
||||||
'breanna',
|
|
||||||
Breanna,
|
|
||||||
expect,
|
|
||||||
models,
|
|
||||||
patterns
|
|
||||||
)
|
|
|
@ -3,7 +3,7 @@
|
||||||
import chai from 'chai'
|
import chai from 'chai'
|
||||||
import models from '@freesewing/models'
|
import models from '@freesewing/models'
|
||||||
import patterns from '@freesewing/pattern-info'
|
import patterns from '@freesewing/pattern-info'
|
||||||
import Breanna from '../dist/index.mjs'
|
import Breanna from './dist/index.mjs'
|
||||||
|
|
||||||
// Shared tests
|
// Shared tests
|
||||||
import { testPatternConfig } from '../../../tests/patterns/config.mjs'
|
import { testPatternConfig } from '../../../tests/patterns/config.mjs'
|
||||||
|
|
|
@ -1,39 +0,0 @@
|
||||||
// This file is auto-generated.
|
|
||||||
// Changes you make will be overwritten.
|
|
||||||
const expect = require("chai").expect;
|
|
||||||
const models = require("@freesewing/models")
|
|
||||||
const patterns = require("@freesewing/pattern-info")
|
|
||||||
|
|
||||||
const Brian = require('../dist')
|
|
||||||
|
|
||||||
// Shared tests
|
|
||||||
const testPatternConfig = require('../../../tests/patterns/config')
|
|
||||||
const testPatternDrafting = require('../../../tests/patterns/drafting')
|
|
||||||
const testPatternSampling = require('../../../tests/patterns/sampling')
|
|
||||||
|
|
||||||
// Test config
|
|
||||||
testPatternConfig(
|
|
||||||
'brian',
|
|
||||||
new Brian(),
|
|
||||||
expect,
|
|
||||||
models,
|
|
||||||
patterns
|
|
||||||
)
|
|
||||||
|
|
||||||
// Test drafting
|
|
||||||
testPatternDrafting(
|
|
||||||
'brian',
|
|
||||||
Brian,
|
|
||||||
expect,
|
|
||||||
models,
|
|
||||||
patterns
|
|
||||||
)
|
|
||||||
|
|
||||||
// Test sampling
|
|
||||||
testPatternSampling(
|
|
||||||
'brian',
|
|
||||||
Brian,
|
|
||||||
expect,
|
|
||||||
models,
|
|
||||||
patterns
|
|
||||||
)
|
|
|
@ -3,7 +3,7 @@
|
||||||
import chai from 'chai'
|
import chai from 'chai'
|
||||||
import models from '@freesewing/models'
|
import models from '@freesewing/models'
|
||||||
import patterns from '@freesewing/pattern-info'
|
import patterns from '@freesewing/pattern-info'
|
||||||
import Brian from '../dist/index.mjs'
|
import Brian from './dist/index.mjs'
|
||||||
|
|
||||||
// Shared tests
|
// Shared tests
|
||||||
import { testPatternConfig } from '../../../tests/patterns/config.mjs'
|
import { testPatternConfig } from '../../../tests/patterns/config.mjs'
|
||||||
|
|
|
@ -1,39 +0,0 @@
|
||||||
// This file is auto-generated.
|
|
||||||
// Changes you make will be overwritten.
|
|
||||||
const expect = require("chai").expect;
|
|
||||||
const models = require("@freesewing/models")
|
|
||||||
const patterns = require("@freesewing/pattern-info")
|
|
||||||
|
|
||||||
const Bruce = require('../dist')
|
|
||||||
|
|
||||||
// Shared tests
|
|
||||||
const testPatternConfig = require('../../../tests/patterns/config')
|
|
||||||
const testPatternDrafting = require('../../../tests/patterns/drafting')
|
|
||||||
const testPatternSampling = require('../../../tests/patterns/sampling')
|
|
||||||
|
|
||||||
// Test config
|
|
||||||
testPatternConfig(
|
|
||||||
'bruce',
|
|
||||||
new Bruce(),
|
|
||||||
expect,
|
|
||||||
models,
|
|
||||||
patterns
|
|
||||||
)
|
|
||||||
|
|
||||||
// Test drafting
|
|
||||||
testPatternDrafting(
|
|
||||||
'bruce',
|
|
||||||
Bruce,
|
|
||||||
expect,
|
|
||||||
models,
|
|
||||||
patterns
|
|
||||||
)
|
|
||||||
|
|
||||||
// Test sampling
|
|
||||||
testPatternSampling(
|
|
||||||
'bruce',
|
|
||||||
Bruce,
|
|
||||||
expect,
|
|
||||||
models,
|
|
||||||
patterns
|
|
||||||
)
|
|
|
@ -3,7 +3,7 @@
|
||||||
import chai from 'chai'
|
import chai from 'chai'
|
||||||
import models from '@freesewing/models'
|
import models from '@freesewing/models'
|
||||||
import patterns from '@freesewing/pattern-info'
|
import patterns from '@freesewing/pattern-info'
|
||||||
import Bruce from '../dist/index.mjs'
|
import Bruce from './dist/index.mjs'
|
||||||
|
|
||||||
// Shared tests
|
// Shared tests
|
||||||
import { testPatternConfig } from '../../../tests/patterns/config.mjs'
|
import { testPatternConfig } from '../../../tests/patterns/config.mjs'
|
||||||
|
|
|
@ -1,39 +0,0 @@
|
||||||
// This file is auto-generated.
|
|
||||||
// Changes you make will be overwritten.
|
|
||||||
const expect = require("chai").expect;
|
|
||||||
const models = require("@freesewing/models")
|
|
||||||
const patterns = require("@freesewing/pattern-info")
|
|
||||||
|
|
||||||
const Carlita = require('../dist')
|
|
||||||
|
|
||||||
// Shared tests
|
|
||||||
const testPatternConfig = require('../../../tests/patterns/config')
|
|
||||||
const testPatternDrafting = require('../../../tests/patterns/drafting')
|
|
||||||
const testPatternSampling = require('../../../tests/patterns/sampling')
|
|
||||||
|
|
||||||
// Test config
|
|
||||||
testPatternConfig(
|
|
||||||
'carlita',
|
|
||||||
new Carlita(),
|
|
||||||
expect,
|
|
||||||
models,
|
|
||||||
patterns
|
|
||||||
)
|
|
||||||
|
|
||||||
// Test drafting
|
|
||||||
testPatternDrafting(
|
|
||||||
'carlita',
|
|
||||||
Carlita,
|
|
||||||
expect,
|
|
||||||
models,
|
|
||||||
patterns
|
|
||||||
)
|
|
||||||
|
|
||||||
// Test sampling
|
|
||||||
testPatternSampling(
|
|
||||||
'carlita',
|
|
||||||
Carlita,
|
|
||||||
expect,
|
|
||||||
models,
|
|
||||||
patterns
|
|
||||||
)
|
|
|
@ -3,7 +3,7 @@
|
||||||
import chai from 'chai'
|
import chai from 'chai'
|
||||||
import models from '@freesewing/models'
|
import models from '@freesewing/models'
|
||||||
import patterns from '@freesewing/pattern-info'
|
import patterns from '@freesewing/pattern-info'
|
||||||
import Carlita from '../dist/index.mjs'
|
import Carlita from './dist/index.mjs'
|
||||||
|
|
||||||
// Shared tests
|
// Shared tests
|
||||||
import { testPatternConfig } from '../../../tests/patterns/config.mjs'
|
import { testPatternConfig } from '../../../tests/patterns/config.mjs'
|
||||||
|
|
|
@ -1,39 +0,0 @@
|
||||||
// This file is auto-generated.
|
|
||||||
// Changes you make will be overwritten.
|
|
||||||
const expect = require("chai").expect;
|
|
||||||
const models = require("@freesewing/models")
|
|
||||||
const patterns = require("@freesewing/pattern-info")
|
|
||||||
|
|
||||||
const Carlton = require('../dist')
|
|
||||||
|
|
||||||
// Shared tests
|
|
||||||
const testPatternConfig = require('../../../tests/patterns/config')
|
|
||||||
const testPatternDrafting = require('../../../tests/patterns/drafting')
|
|
||||||
const testPatternSampling = require('../../../tests/patterns/sampling')
|
|
||||||
|
|
||||||
// Test config
|
|
||||||
testPatternConfig(
|
|
||||||
'carlton',
|
|
||||||
new Carlton(),
|
|
||||||
expect,
|
|
||||||
models,
|
|
||||||
patterns
|
|
||||||
)
|
|
||||||
|
|
||||||
// Test drafting
|
|
||||||
testPatternDrafting(
|
|
||||||
'carlton',
|
|
||||||
Carlton,
|
|
||||||
expect,
|
|
||||||
models,
|
|
||||||
patterns
|
|
||||||
)
|
|
||||||
|
|
||||||
// Test sampling
|
|
||||||
testPatternSampling(
|
|
||||||
'carlton',
|
|
||||||
Carlton,
|
|
||||||
expect,
|
|
||||||
models,
|
|
||||||
patterns
|
|
||||||
)
|
|
|
@ -3,7 +3,7 @@
|
||||||
import chai from 'chai'
|
import chai from 'chai'
|
||||||
import models from '@freesewing/models'
|
import models from '@freesewing/models'
|
||||||
import patterns from '@freesewing/pattern-info'
|
import patterns from '@freesewing/pattern-info'
|
||||||
import Carlton from '../dist/index.mjs'
|
import Carlton from './dist/index.mjs'
|
||||||
|
|
||||||
// Shared tests
|
// Shared tests
|
||||||
import { testPatternConfig } from '../../../tests/patterns/config.mjs'
|
import { testPatternConfig } from '../../../tests/patterns/config.mjs'
|
||||||
|
|
|
@ -1,39 +0,0 @@
|
||||||
// This file is auto-generated.
|
|
||||||
// Changes you make will be overwritten.
|
|
||||||
const expect = require("chai").expect;
|
|
||||||
const models = require("@freesewing/models")
|
|
||||||
const patterns = require("@freesewing/pattern-info")
|
|
||||||
|
|
||||||
const Cathrin = require('../dist')
|
|
||||||
|
|
||||||
// Shared tests
|
|
||||||
const testPatternConfig = require('../../../tests/patterns/config')
|
|
||||||
const testPatternDrafting = require('../../../tests/patterns/drafting')
|
|
||||||
const testPatternSampling = require('../../../tests/patterns/sampling')
|
|
||||||
|
|
||||||
// Test config
|
|
||||||
testPatternConfig(
|
|
||||||
'cathrin',
|
|
||||||
new Cathrin(),
|
|
||||||
expect,
|
|
||||||
models,
|
|
||||||
patterns
|
|
||||||
)
|
|
||||||
|
|
||||||
// Test drafting
|
|
||||||
testPatternDrafting(
|
|
||||||
'cathrin',
|
|
||||||
Cathrin,
|
|
||||||
expect,
|
|
||||||
models,
|
|
||||||
patterns
|
|
||||||
)
|
|
||||||
|
|
||||||
// Test sampling
|
|
||||||
testPatternSampling(
|
|
||||||
'cathrin',
|
|
||||||
Cathrin,
|
|
||||||
expect,
|
|
||||||
models,
|
|
||||||
patterns
|
|
||||||
)
|
|
|
@ -3,7 +3,7 @@
|
||||||
import chai from 'chai'
|
import chai from 'chai'
|
||||||
import models from '@freesewing/models'
|
import models from '@freesewing/models'
|
||||||
import patterns from '@freesewing/pattern-info'
|
import patterns from '@freesewing/pattern-info'
|
||||||
import Cathrin from '../dist/index.mjs'
|
import Cathrin from './dist/index.mjs'
|
||||||
|
|
||||||
// Shared tests
|
// Shared tests
|
||||||
import { testPatternConfig } from '../../../tests/patterns/config.mjs'
|
import { testPatternConfig } from '../../../tests/patterns/config.mjs'
|
||||||
|
|
|
@ -1,39 +0,0 @@
|
||||||
// This file is auto-generated.
|
|
||||||
// Changes you make will be overwritten.
|
|
||||||
const expect = require("chai").expect;
|
|
||||||
const models = require("@freesewing/models")
|
|
||||||
const patterns = require("@freesewing/pattern-info")
|
|
||||||
|
|
||||||
const Charlie = require('../dist')
|
|
||||||
|
|
||||||
// Shared tests
|
|
||||||
const testPatternConfig = require('../../../tests/patterns/config')
|
|
||||||
const testPatternDrafting = require('../../../tests/patterns/drafting')
|
|
||||||
const testPatternSampling = require('../../../tests/patterns/sampling')
|
|
||||||
|
|
||||||
// Test config
|
|
||||||
testPatternConfig(
|
|
||||||
'charlie',
|
|
||||||
new Charlie(),
|
|
||||||
expect,
|
|
||||||
models,
|
|
||||||
patterns
|
|
||||||
)
|
|
||||||
|
|
||||||
// Test drafting
|
|
||||||
testPatternDrafting(
|
|
||||||
'charlie',
|
|
||||||
Charlie,
|
|
||||||
expect,
|
|
||||||
models,
|
|
||||||
patterns
|
|
||||||
)
|
|
||||||
|
|
||||||
// Test sampling
|
|
||||||
testPatternSampling(
|
|
||||||
'charlie',
|
|
||||||
Charlie,
|
|
||||||
expect,
|
|
||||||
models,
|
|
||||||
patterns
|
|
||||||
)
|
|
|
@ -3,7 +3,7 @@
|
||||||
import chai from 'chai'
|
import chai from 'chai'
|
||||||
import models from '@freesewing/models'
|
import models from '@freesewing/models'
|
||||||
import patterns from '@freesewing/pattern-info'
|
import patterns from '@freesewing/pattern-info'
|
||||||
import Charlie from '../dist/index.mjs'
|
import Charlie from './dist/index.mjs'
|
||||||
|
|
||||||
// Shared tests
|
// Shared tests
|
||||||
import { testPatternConfig } from '../../../tests/patterns/config.mjs'
|
import { testPatternConfig } from '../../../tests/patterns/config.mjs'
|
||||||
|
|
|
@ -1,39 +0,0 @@
|
||||||
// This file is auto-generated.
|
|
||||||
// Changes you make will be overwritten.
|
|
||||||
const expect = require("chai").expect;
|
|
||||||
const models = require("@freesewing/models")
|
|
||||||
const patterns = require("@freesewing/pattern-info")
|
|
||||||
|
|
||||||
const Cornelius = require('../dist')
|
|
||||||
|
|
||||||
// Shared tests
|
|
||||||
const testPatternConfig = require('../../../tests/patterns/config')
|
|
||||||
const testPatternDrafting = require('../../../tests/patterns/drafting')
|
|
||||||
const testPatternSampling = require('../../../tests/patterns/sampling')
|
|
||||||
|
|
||||||
// Test config
|
|
||||||
testPatternConfig(
|
|
||||||
'cornelius',
|
|
||||||
new Cornelius(),
|
|
||||||
expect,
|
|
||||||
models,
|
|
||||||
patterns
|
|
||||||
)
|
|
||||||
|
|
||||||
// Test drafting
|
|
||||||
testPatternDrafting(
|
|
||||||
'cornelius',
|
|
||||||
Cornelius,
|
|
||||||
expect,
|
|
||||||
models,
|
|
||||||
patterns
|
|
||||||
)
|
|
||||||
|
|
||||||
// Test sampling
|
|
||||||
testPatternSampling(
|
|
||||||
'cornelius',
|
|
||||||
Cornelius,
|
|
||||||
expect,
|
|
||||||
models,
|
|
||||||
patterns
|
|
||||||
)
|
|
|
@ -3,7 +3,7 @@
|
||||||
import chai from 'chai'
|
import chai from 'chai'
|
||||||
import models from '@freesewing/models'
|
import models from '@freesewing/models'
|
||||||
import patterns from '@freesewing/pattern-info'
|
import patterns from '@freesewing/pattern-info'
|
||||||
import Cornelius from '../dist/index.mjs'
|
import Cornelius from './dist/index.mjs'
|
||||||
|
|
||||||
// Shared tests
|
// Shared tests
|
||||||
import { testPatternConfig } from '../../../tests/patterns/config.mjs'
|
import { testPatternConfig } from '../../../tests/patterns/config.mjs'
|
||||||
|
|
|
@ -1,39 +0,0 @@
|
||||||
// This file is auto-generated.
|
|
||||||
// Changes you make will be overwritten.
|
|
||||||
const expect = require("chai").expect;
|
|
||||||
const models = require("@freesewing/models")
|
|
||||||
const patterns = require("@freesewing/pattern-info")
|
|
||||||
|
|
||||||
const Diana = require('../dist')
|
|
||||||
|
|
||||||
// Shared tests
|
|
||||||
const testPatternConfig = require('../../../tests/patterns/config')
|
|
||||||
const testPatternDrafting = require('../../../tests/patterns/drafting')
|
|
||||||
const testPatternSampling = require('../../../tests/patterns/sampling')
|
|
||||||
|
|
||||||
// Test config
|
|
||||||
testPatternConfig(
|
|
||||||
'diana',
|
|
||||||
new Diana(),
|
|
||||||
expect,
|
|
||||||
models,
|
|
||||||
patterns
|
|
||||||
)
|
|
||||||
|
|
||||||
// Test drafting
|
|
||||||
testPatternDrafting(
|
|
||||||
'diana',
|
|
||||||
Diana,
|
|
||||||
expect,
|
|
||||||
models,
|
|
||||||
patterns
|
|
||||||
)
|
|
||||||
|
|
||||||
// Test sampling
|
|
||||||
testPatternSampling(
|
|
||||||
'diana',
|
|
||||||
Diana,
|
|
||||||
expect,
|
|
||||||
models,
|
|
||||||
patterns
|
|
||||||
)
|
|
|
@ -3,7 +3,7 @@
|
||||||
import chai from 'chai'
|
import chai from 'chai'
|
||||||
import models from '@freesewing/models'
|
import models from '@freesewing/models'
|
||||||
import patterns from '@freesewing/pattern-info'
|
import patterns from '@freesewing/pattern-info'
|
||||||
import Diana from '../dist/index.mjs'
|
import Diana from './dist/index.mjs'
|
||||||
|
|
||||||
// Shared tests
|
// Shared tests
|
||||||
import { testPatternConfig } from '../../../tests/patterns/config.mjs'
|
import { testPatternConfig } from '../../../tests/patterns/config.mjs'
|
||||||
|
|
|
@ -1,39 +0,0 @@
|
||||||
// This file is auto-generated.
|
|
||||||
// Changes you make will be overwritten.
|
|
||||||
const expect = require("chai").expect;
|
|
||||||
const models = require("@freesewing/models")
|
|
||||||
const patterns = require("@freesewing/pattern-info")
|
|
||||||
|
|
||||||
const Examples = require('../dist')
|
|
||||||
|
|
||||||
// Shared tests
|
|
||||||
const testPatternConfig = require('../../../tests/patterns/config')
|
|
||||||
const testPatternDrafting = require('../../../tests/patterns/drafting')
|
|
||||||
const testPatternSampling = require('../../../tests/patterns/sampling')
|
|
||||||
|
|
||||||
// Test config
|
|
||||||
testPatternConfig(
|
|
||||||
'examples',
|
|
||||||
new Examples(),
|
|
||||||
expect,
|
|
||||||
models,
|
|
||||||
patterns
|
|
||||||
)
|
|
||||||
|
|
||||||
// Test drafting
|
|
||||||
testPatternDrafting(
|
|
||||||
'examples',
|
|
||||||
Examples,
|
|
||||||
expect,
|
|
||||||
models,
|
|
||||||
patterns
|
|
||||||
)
|
|
||||||
|
|
||||||
// Test sampling
|
|
||||||
testPatternSampling(
|
|
||||||
'examples',
|
|
||||||
Examples,
|
|
||||||
expect,
|
|
||||||
models,
|
|
||||||
patterns
|
|
||||||
)
|
|
|
@ -3,7 +3,7 @@
|
||||||
import chai from 'chai'
|
import chai from 'chai'
|
||||||
import models from '@freesewing/models'
|
import models from '@freesewing/models'
|
||||||
import patterns from '@freesewing/pattern-info'
|
import patterns from '@freesewing/pattern-info'
|
||||||
import Examples from '../dist/index.mjs'
|
import Examples from './dist/index.mjs'
|
||||||
|
|
||||||
// Shared tests
|
// Shared tests
|
||||||
import { testPatternConfig } from '../../../tests/patterns/config.mjs'
|
import { testPatternConfig } from '../../../tests/patterns/config.mjs'
|
||||||
|
|
|
@ -1,39 +0,0 @@
|
||||||
// This file is auto-generated.
|
|
||||||
// Changes you make will be overwritten.
|
|
||||||
const expect = require("chai").expect;
|
|
||||||
const models = require("@freesewing/models")
|
|
||||||
const patterns = require("@freesewing/pattern-info")
|
|
||||||
|
|
||||||
const Florence = require('../dist')
|
|
||||||
|
|
||||||
// Shared tests
|
|
||||||
const testPatternConfig = require('../../../tests/patterns/config')
|
|
||||||
const testPatternDrafting = require('../../../tests/patterns/drafting')
|
|
||||||
const testPatternSampling = require('../../../tests/patterns/sampling')
|
|
||||||
|
|
||||||
// Test config
|
|
||||||
testPatternConfig(
|
|
||||||
'florence',
|
|
||||||
new Florence(),
|
|
||||||
expect,
|
|
||||||
models,
|
|
||||||
patterns
|
|
||||||
)
|
|
||||||
|
|
||||||
// Test drafting
|
|
||||||
testPatternDrafting(
|
|
||||||
'florence',
|
|
||||||
Florence,
|
|
||||||
expect,
|
|
||||||
models,
|
|
||||||
patterns
|
|
||||||
)
|
|
||||||
|
|
||||||
// Test sampling
|
|
||||||
testPatternSampling(
|
|
||||||
'florence',
|
|
||||||
Florence,
|
|
||||||
expect,
|
|
||||||
models,
|
|
||||||
patterns
|
|
||||||
)
|
|
|
@ -3,7 +3,7 @@
|
||||||
import chai from 'chai'
|
import chai from 'chai'
|
||||||
import models from '@freesewing/models'
|
import models from '@freesewing/models'
|
||||||
import patterns from '@freesewing/pattern-info'
|
import patterns from '@freesewing/pattern-info'
|
||||||
import Florence from '../dist/index.mjs'
|
import Florence from './dist/index.mjs'
|
||||||
|
|
||||||
// Shared tests
|
// Shared tests
|
||||||
import { testPatternConfig } from '../../../tests/patterns/config.mjs'
|
import { testPatternConfig } from '../../../tests/patterns/config.mjs'
|
||||||
|
|
|
@ -1,39 +0,0 @@
|
||||||
// This file is auto-generated.
|
|
||||||
// Changes you make will be overwritten.
|
|
||||||
const expect = require("chai").expect;
|
|
||||||
const models = require("@freesewing/models")
|
|
||||||
const patterns = require("@freesewing/pattern-info")
|
|
||||||
|
|
||||||
const Florent = require('../dist')
|
|
||||||
|
|
||||||
// Shared tests
|
|
||||||
const testPatternConfig = require('../../../tests/patterns/config')
|
|
||||||
const testPatternDrafting = require('../../../tests/patterns/drafting')
|
|
||||||
const testPatternSampling = require('../../../tests/patterns/sampling')
|
|
||||||
|
|
||||||
// Test config
|
|
||||||
testPatternConfig(
|
|
||||||
'florent',
|
|
||||||
new Florent(),
|
|
||||||
expect,
|
|
||||||
models,
|
|
||||||
patterns
|
|
||||||
)
|
|
||||||
|
|
||||||
// Test drafting
|
|
||||||
testPatternDrafting(
|
|
||||||
'florent',
|
|
||||||
Florent,
|
|
||||||
expect,
|
|
||||||
models,
|
|
||||||
patterns
|
|
||||||
)
|
|
||||||
|
|
||||||
// Test sampling
|
|
||||||
testPatternSampling(
|
|
||||||
'florent',
|
|
||||||
Florent,
|
|
||||||
expect,
|
|
||||||
models,
|
|
||||||
patterns
|
|
||||||
)
|
|
|
@ -3,7 +3,7 @@
|
||||||
import chai from 'chai'
|
import chai from 'chai'
|
||||||
import models from '@freesewing/models'
|
import models from '@freesewing/models'
|
||||||
import patterns from '@freesewing/pattern-info'
|
import patterns from '@freesewing/pattern-info'
|
||||||
import Florent from '../dist/index.mjs'
|
import Florent from './dist/index.mjs'
|
||||||
|
|
||||||
// Shared tests
|
// Shared tests
|
||||||
import { testPatternConfig } from '../../../tests/patterns/config.mjs'
|
import { testPatternConfig } from '../../../tests/patterns/config.mjs'
|
||||||
|
|
|
@ -1,39 +0,0 @@
|
||||||
// This file is auto-generated.
|
|
||||||
// Changes you make will be overwritten.
|
|
||||||
const expect = require("chai").expect;
|
|
||||||
const models = require("@freesewing/models")
|
|
||||||
const patterns = require("@freesewing/pattern-info")
|
|
||||||
|
|
||||||
const Holmes = require('../dist')
|
|
||||||
|
|
||||||
// Shared tests
|
|
||||||
const testPatternConfig = require('../../../tests/patterns/config')
|
|
||||||
const testPatternDrafting = require('../../../tests/patterns/drafting')
|
|
||||||
const testPatternSampling = require('../../../tests/patterns/sampling')
|
|
||||||
|
|
||||||
// Test config
|
|
||||||
testPatternConfig(
|
|
||||||
'holmes',
|
|
||||||
new Holmes(),
|
|
||||||
expect,
|
|
||||||
models,
|
|
||||||
patterns
|
|
||||||
)
|
|
||||||
|
|
||||||
// Test drafting
|
|
||||||
testPatternDrafting(
|
|
||||||
'holmes',
|
|
||||||
Holmes,
|
|
||||||
expect,
|
|
||||||
models,
|
|
||||||
patterns
|
|
||||||
)
|
|
||||||
|
|
||||||
// Test sampling
|
|
||||||
testPatternSampling(
|
|
||||||
'holmes',
|
|
||||||
Holmes,
|
|
||||||
expect,
|
|
||||||
models,
|
|
||||||
patterns
|
|
||||||
)
|
|
|
@ -3,7 +3,7 @@
|
||||||
import chai from 'chai'
|
import chai from 'chai'
|
||||||
import models from '@freesewing/models'
|
import models from '@freesewing/models'
|
||||||
import patterns from '@freesewing/pattern-info'
|
import patterns from '@freesewing/pattern-info'
|
||||||
import Holmes from '../dist/index.mjs'
|
import Holmes from './dist/index.mjs'
|
||||||
|
|
||||||
// Shared tests
|
// Shared tests
|
||||||
import { testPatternConfig } from '../../../tests/patterns/config.mjs'
|
import { testPatternConfig } from '../../../tests/patterns/config.mjs'
|
||||||
|
|
|
@ -1,39 +0,0 @@
|
||||||
// This file is auto-generated.
|
|
||||||
// Changes you make will be overwritten.
|
|
||||||
const expect = require("chai").expect;
|
|
||||||
const models = require("@freesewing/models")
|
|
||||||
const patterns = require("@freesewing/pattern-info")
|
|
||||||
|
|
||||||
const Hortensia = require('../dist')
|
|
||||||
|
|
||||||
// Shared tests
|
|
||||||
const testPatternConfig = require('../../../tests/patterns/config')
|
|
||||||
const testPatternDrafting = require('../../../tests/patterns/drafting')
|
|
||||||
const testPatternSampling = require('../../../tests/patterns/sampling')
|
|
||||||
|
|
||||||
// Test config
|
|
||||||
testPatternConfig(
|
|
||||||
'hortensia',
|
|
||||||
new Hortensia(),
|
|
||||||
expect,
|
|
||||||
models,
|
|
||||||
patterns
|
|
||||||
)
|
|
||||||
|
|
||||||
// Test drafting
|
|
||||||
testPatternDrafting(
|
|
||||||
'hortensia',
|
|
||||||
Hortensia,
|
|
||||||
expect,
|
|
||||||
models,
|
|
||||||
patterns
|
|
||||||
)
|
|
||||||
|
|
||||||
// Test sampling
|
|
||||||
testPatternSampling(
|
|
||||||
'hortensia',
|
|
||||||
Hortensia,
|
|
||||||
expect,
|
|
||||||
models,
|
|
||||||
patterns
|
|
||||||
)
|
|
|
@ -3,7 +3,7 @@
|
||||||
import chai from 'chai'
|
import chai from 'chai'
|
||||||
import models from '@freesewing/models'
|
import models from '@freesewing/models'
|
||||||
import patterns from '@freesewing/pattern-info'
|
import patterns from '@freesewing/pattern-info'
|
||||||
import Hortensia from '../dist/index.mjs'
|
import Hortensia from './dist/index.mjs'
|
||||||
|
|
||||||
// Shared tests
|
// Shared tests
|
||||||
import { testPatternConfig } from '../../../tests/patterns/config.mjs'
|
import { testPatternConfig } from '../../../tests/patterns/config.mjs'
|
||||||
|
|
|
@ -1,39 +0,0 @@
|
||||||
// This file is auto-generated.
|
|
||||||
// Changes you make will be overwritten.
|
|
||||||
const expect = require("chai").expect;
|
|
||||||
const models = require("@freesewing/models")
|
|
||||||
const patterns = require("@freesewing/pattern-info")
|
|
||||||
|
|
||||||
const Huey = require('../dist')
|
|
||||||
|
|
||||||
// Shared tests
|
|
||||||
const testPatternConfig = require('../../../tests/patterns/config')
|
|
||||||
const testPatternDrafting = require('../../../tests/patterns/drafting')
|
|
||||||
const testPatternSampling = require('../../../tests/patterns/sampling')
|
|
||||||
|
|
||||||
// Test config
|
|
||||||
testPatternConfig(
|
|
||||||
'huey',
|
|
||||||
new Huey(),
|
|
||||||
expect,
|
|
||||||
models,
|
|
||||||
patterns
|
|
||||||
)
|
|
||||||
|
|
||||||
// Test drafting
|
|
||||||
testPatternDrafting(
|
|
||||||
'huey',
|
|
||||||
Huey,
|
|
||||||
expect,
|
|
||||||
models,
|
|
||||||
patterns
|
|
||||||
)
|
|
||||||
|
|
||||||
// Test sampling
|
|
||||||
testPatternSampling(
|
|
||||||
'huey',
|
|
||||||
Huey,
|
|
||||||
expect,
|
|
||||||
models,
|
|
||||||
patterns
|
|
||||||
)
|
|
|
@ -3,7 +3,7 @@
|
||||||
import chai from 'chai'
|
import chai from 'chai'
|
||||||
import models from '@freesewing/models'
|
import models from '@freesewing/models'
|
||||||
import patterns from '@freesewing/pattern-info'
|
import patterns from '@freesewing/pattern-info'
|
||||||
import Huey from '../dist/index.mjs'
|
import Huey from './dist/index.mjs'
|
||||||
|
|
||||||
// Shared tests
|
// Shared tests
|
||||||
import { testPatternConfig } from '../../../tests/patterns/config.mjs'
|
import { testPatternConfig } from '../../../tests/patterns/config.mjs'
|
||||||
|
|
|
@ -1,39 +0,0 @@
|
||||||
// This file is auto-generated.
|
|
||||||
// Changes you make will be overwritten.
|
|
||||||
const expect = require("chai").expect;
|
|
||||||
const models = require("@freesewing/models")
|
|
||||||
const patterns = require("@freesewing/pattern-info")
|
|
||||||
|
|
||||||
const Hugo = require('../dist')
|
|
||||||
|
|
||||||
// Shared tests
|
|
||||||
const testPatternConfig = require('../../../tests/patterns/config')
|
|
||||||
const testPatternDrafting = require('../../../tests/patterns/drafting')
|
|
||||||
const testPatternSampling = require('../../../tests/patterns/sampling')
|
|
||||||
|
|
||||||
// Test config
|
|
||||||
testPatternConfig(
|
|
||||||
'hugo',
|
|
||||||
new Hugo(),
|
|
||||||
expect,
|
|
||||||
models,
|
|
||||||
patterns
|
|
||||||
)
|
|
||||||
|
|
||||||
// Test drafting
|
|
||||||
testPatternDrafting(
|
|
||||||
'hugo',
|
|
||||||
Hugo,
|
|
||||||
expect,
|
|
||||||
models,
|
|
||||||
patterns
|
|
||||||
)
|
|
||||||
|
|
||||||
// Test sampling
|
|
||||||
testPatternSampling(
|
|
||||||
'hugo',
|
|
||||||
Hugo,
|
|
||||||
expect,
|
|
||||||
models,
|
|
||||||
patterns
|
|
||||||
)
|
|
|
@ -3,7 +3,7 @@
|
||||||
import chai from 'chai'
|
import chai from 'chai'
|
||||||
import models from '@freesewing/models'
|
import models from '@freesewing/models'
|
||||||
import patterns from '@freesewing/pattern-info'
|
import patterns from '@freesewing/pattern-info'
|
||||||
import Hugo from '../dist/index.mjs'
|
import Hugo from './dist/index.mjs'
|
||||||
|
|
||||||
// Shared tests
|
// Shared tests
|
||||||
import { testPatternConfig } from '../../../tests/patterns/config.mjs'
|
import { testPatternConfig } from '../../../tests/patterns/config.mjs'
|
||||||
|
|
|
@ -1,8 +1,7 @@
|
||||||
import chai from "chai"
|
import chai from "chai"
|
||||||
import i18nAll from "../dist/index.js"
|
import { strings as i18n } from "./dist/index.mjs"
|
||||||
|
|
||||||
const expect = chai.expect
|
const expect = chai.expect
|
||||||
const i18n = i18nAll.strings
|
|
||||||
|
|
||||||
const languages = [
|
const languages = [
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,39 +0,0 @@
|
||||||
// This file is auto-generated.
|
|
||||||
// Changes you make will be overwritten.
|
|
||||||
const expect = require("chai").expect;
|
|
||||||
const models = require("@freesewing/models")
|
|
||||||
const patterns = require("@freesewing/pattern-info")
|
|
||||||
|
|
||||||
const Jaeger = require('../dist')
|
|
||||||
|
|
||||||
// Shared tests
|
|
||||||
const testPatternConfig = require('../../../tests/patterns/config')
|
|
||||||
const testPatternDrafting = require('../../../tests/patterns/drafting')
|
|
||||||
const testPatternSampling = require('../../../tests/patterns/sampling')
|
|
||||||
|
|
||||||
// Test config
|
|
||||||
testPatternConfig(
|
|
||||||
'jaeger',
|
|
||||||
new Jaeger(),
|
|
||||||
expect,
|
|
||||||
models,
|
|
||||||
patterns
|
|
||||||
)
|
|
||||||
|
|
||||||
// Test drafting
|
|
||||||
testPatternDrafting(
|
|
||||||
'jaeger',
|
|
||||||
Jaeger,
|
|
||||||
expect,
|
|
||||||
models,
|
|
||||||
patterns
|
|
||||||
)
|
|
||||||
|
|
||||||
// Test sampling
|
|
||||||
testPatternSampling(
|
|
||||||
'jaeger',
|
|
||||||
Jaeger,
|
|
||||||
expect,
|
|
||||||
models,
|
|
||||||
patterns
|
|
||||||
)
|
|
|
@ -3,7 +3,7 @@
|
||||||
import chai from 'chai'
|
import chai from 'chai'
|
||||||
import models from '@freesewing/models'
|
import models from '@freesewing/models'
|
||||||
import patterns from '@freesewing/pattern-info'
|
import patterns from '@freesewing/pattern-info'
|
||||||
import Jaeger from '../dist/index.mjs'
|
import Jaeger from './dist/index.mjs'
|
||||||
|
|
||||||
// Shared tests
|
// Shared tests
|
||||||
import { testPatternConfig } from '../../../tests/patterns/config.mjs'
|
import { testPatternConfig } from '../../../tests/patterns/config.mjs'
|
||||||
|
|
|
@ -1,39 +0,0 @@
|
||||||
// This file is auto-generated.
|
|
||||||
// Changes you make will be overwritten.
|
|
||||||
const expect = require("chai").expect;
|
|
||||||
const models = require("@freesewing/models")
|
|
||||||
const patterns = require("@freesewing/pattern-info")
|
|
||||||
|
|
||||||
const Legend = require('../dist')
|
|
||||||
|
|
||||||
// Shared tests
|
|
||||||
const testPatternConfig = require('../../../tests/patterns/config')
|
|
||||||
const testPatternDrafting = require('../../../tests/patterns/drafting')
|
|
||||||
const testPatternSampling = require('../../../tests/patterns/sampling')
|
|
||||||
|
|
||||||
// Test config
|
|
||||||
testPatternConfig(
|
|
||||||
'legend',
|
|
||||||
new Legend(),
|
|
||||||
expect,
|
|
||||||
models,
|
|
||||||
patterns
|
|
||||||
)
|
|
||||||
|
|
||||||
// Test drafting
|
|
||||||
testPatternDrafting(
|
|
||||||
'legend',
|
|
||||||
Legend,
|
|
||||||
expect,
|
|
||||||
models,
|
|
||||||
patterns
|
|
||||||
)
|
|
||||||
|
|
||||||
// Test sampling
|
|
||||||
testPatternSampling(
|
|
||||||
'legend',
|
|
||||||
Legend,
|
|
||||||
expect,
|
|
||||||
models,
|
|
||||||
patterns
|
|
||||||
)
|
|
|
@ -3,7 +3,7 @@
|
||||||
import chai from 'chai'
|
import chai from 'chai'
|
||||||
import models from '@freesewing/models'
|
import models from '@freesewing/models'
|
||||||
import patterns from '@freesewing/pattern-info'
|
import patterns from '@freesewing/pattern-info'
|
||||||
import Legend from '../dist/index.mjs'
|
import Legend from './dist/index.mjs'
|
||||||
|
|
||||||
// Shared tests
|
// Shared tests
|
||||||
import { testPatternConfig } from '../../../tests/patterns/config.mjs'
|
import { testPatternConfig } from '../../../tests/patterns/config.mjs'
|
||||||
|
|
41
packages/lucy/tests/shared.test.mjs
Normal file
41
packages/lucy/tests/shared.test.mjs
Normal file
|
@ -0,0 +1,41 @@
|
||||||
|
// This file is auto-generated.
|
||||||
|
// Changes you make will be overwritten.
|
||||||
|
import chai from 'chai'
|
||||||
|
import models from '@freesewing/models'
|
||||||
|
import patterns from '@freesewing/pattern-info'
|
||||||
|
import Lucy from './dist/index.mjs'
|
||||||
|
|
||||||
|
// Shared tests
|
||||||
|
import { testPatternConfig } from '../../../tests/patterns/config.mjs'
|
||||||
|
import { testPatternDrafting } from '../../../tests/patterns/drafting.mjs'
|
||||||
|
import { testPatternSampling } from '../../../tests/patterns/sampling.mjs'
|
||||||
|
|
||||||
|
const expect = chai.expect
|
||||||
|
|
||||||
|
|
||||||
|
// Test config
|
||||||
|
testPatternConfig(
|
||||||
|
'lucy',
|
||||||
|
new Lucy(),
|
||||||
|
expect,
|
||||||
|
models,
|
||||||
|
patterns
|
||||||
|
)
|
||||||
|
|
||||||
|
// Test drafting
|
||||||
|
testPatternDrafting(
|
||||||
|
'lucy',
|
||||||
|
Lucy,
|
||||||
|
expect,
|
||||||
|
models,
|
||||||
|
patterns
|
||||||
|
)
|
||||||
|
|
||||||
|
// Test sampling
|
||||||
|
testPatternSampling(
|
||||||
|
'lucy',
|
||||||
|
Lucy,
|
||||||
|
expect,
|
||||||
|
models,
|
||||||
|
patterns
|
||||||
|
)
|
|
@ -1,39 +0,0 @@
|
||||||
// This file is auto-generated.
|
|
||||||
// Changes you make will be overwritten.
|
|
||||||
const expect = require("chai").expect;
|
|
||||||
const models = require("@freesewing/models")
|
|
||||||
const patterns = require("@freesewing/pattern-info")
|
|
||||||
|
|
||||||
const Lunetius = require('../dist')
|
|
||||||
|
|
||||||
// Shared tests
|
|
||||||
const testPatternConfig = require('../../../tests/patterns/config')
|
|
||||||
const testPatternDrafting = require('../../../tests/patterns/drafting')
|
|
||||||
const testPatternSampling = require('../../../tests/patterns/sampling')
|
|
||||||
|
|
||||||
// Test config
|
|
||||||
testPatternConfig(
|
|
||||||
'lunetius',
|
|
||||||
new Lunetius(),
|
|
||||||
expect,
|
|
||||||
models,
|
|
||||||
patterns
|
|
||||||
)
|
|
||||||
|
|
||||||
// Test drafting
|
|
||||||
testPatternDrafting(
|
|
||||||
'lunetius',
|
|
||||||
Lunetius,
|
|
||||||
expect,
|
|
||||||
models,
|
|
||||||
patterns
|
|
||||||
)
|
|
||||||
|
|
||||||
// Test sampling
|
|
||||||
testPatternSampling(
|
|
||||||
'lunetius',
|
|
||||||
Lunetius,
|
|
||||||
expect,
|
|
||||||
models,
|
|
||||||
patterns
|
|
||||||
)
|
|
|
@ -3,7 +3,7 @@
|
||||||
import chai from 'chai'
|
import chai from 'chai'
|
||||||
import models from '@freesewing/models'
|
import models from '@freesewing/models'
|
||||||
import patterns from '@freesewing/pattern-info'
|
import patterns from '@freesewing/pattern-info'
|
||||||
import Lunetius from '../dist/index.mjs'
|
import Lunetius from './dist/index.mjs'
|
||||||
|
|
||||||
// Shared tests
|
// Shared tests
|
||||||
import { testPatternConfig } from '../../../tests/patterns/config.mjs'
|
import { testPatternConfig } from '../../../tests/patterns/config.mjs'
|
||||||
|
|
|
@ -1,39 +0,0 @@
|
||||||
// This file is auto-generated.
|
|
||||||
// Changes you make will be overwritten.
|
|
||||||
const expect = require("chai").expect;
|
|
||||||
const models = require("@freesewing/models")
|
|
||||||
const patterns = require("@freesewing/pattern-info")
|
|
||||||
|
|
||||||
const Paco = require('../dist')
|
|
||||||
|
|
||||||
// Shared tests
|
|
||||||
const testPatternConfig = require('../../../tests/patterns/config')
|
|
||||||
const testPatternDrafting = require('../../../tests/patterns/drafting')
|
|
||||||
const testPatternSampling = require('../../../tests/patterns/sampling')
|
|
||||||
|
|
||||||
// Test config
|
|
||||||
testPatternConfig(
|
|
||||||
'paco',
|
|
||||||
new Paco(),
|
|
||||||
expect,
|
|
||||||
models,
|
|
||||||
patterns
|
|
||||||
)
|
|
||||||
|
|
||||||
// Test drafting
|
|
||||||
testPatternDrafting(
|
|
||||||
'paco',
|
|
||||||
Paco,
|
|
||||||
expect,
|
|
||||||
models,
|
|
||||||
patterns
|
|
||||||
)
|
|
||||||
|
|
||||||
// Test sampling
|
|
||||||
testPatternSampling(
|
|
||||||
'paco',
|
|
||||||
Paco,
|
|
||||||
expect,
|
|
||||||
models,
|
|
||||||
patterns
|
|
||||||
)
|
|
|
@ -3,7 +3,7 @@
|
||||||
import chai from 'chai'
|
import chai from 'chai'
|
||||||
import models from '@freesewing/models'
|
import models from '@freesewing/models'
|
||||||
import patterns from '@freesewing/pattern-info'
|
import patterns from '@freesewing/pattern-info'
|
||||||
import Paco from '../dist/index.mjs'
|
import Paco from './dist/index.mjs'
|
||||||
|
|
||||||
// Shared tests
|
// Shared tests
|
||||||
import { testPatternConfig } from '../../../tests/patterns/config.mjs'
|
import { testPatternConfig } from '../../../tests/patterns/config.mjs'
|
||||||
|
|
|
@ -1,39 +0,0 @@
|
||||||
// This file is auto-generated.
|
|
||||||
// Changes you make will be overwritten.
|
|
||||||
const expect = require("chai").expect;
|
|
||||||
const models = require("@freesewing/models")
|
|
||||||
const patterns = require("@freesewing/pattern-info")
|
|
||||||
|
|
||||||
const Penelope = require('../dist')
|
|
||||||
|
|
||||||
// Shared tests
|
|
||||||
const testPatternConfig = require('../../../tests/patterns/config')
|
|
||||||
const testPatternDrafting = require('../../../tests/patterns/drafting')
|
|
||||||
const testPatternSampling = require('../../../tests/patterns/sampling')
|
|
||||||
|
|
||||||
// Test config
|
|
||||||
testPatternConfig(
|
|
||||||
'penelope',
|
|
||||||
new Penelope(),
|
|
||||||
expect,
|
|
||||||
models,
|
|
||||||
patterns
|
|
||||||
)
|
|
||||||
|
|
||||||
// Test drafting
|
|
||||||
testPatternDrafting(
|
|
||||||
'penelope',
|
|
||||||
Penelope,
|
|
||||||
expect,
|
|
||||||
models,
|
|
||||||
patterns
|
|
||||||
)
|
|
||||||
|
|
||||||
// Test sampling
|
|
||||||
testPatternSampling(
|
|
||||||
'penelope',
|
|
||||||
Penelope,
|
|
||||||
expect,
|
|
||||||
models,
|
|
||||||
patterns
|
|
||||||
)
|
|
|
@ -3,7 +3,7 @@
|
||||||
import chai from 'chai'
|
import chai from 'chai'
|
||||||
import models from '@freesewing/models'
|
import models from '@freesewing/models'
|
||||||
import patterns from '@freesewing/pattern-info'
|
import patterns from '@freesewing/pattern-info'
|
||||||
import Penelope from '../dist/index.mjs'
|
import Penelope from './dist/index.mjs'
|
||||||
|
|
||||||
// Shared tests
|
// Shared tests
|
||||||
import { testPatternConfig } from '../../../tests/patterns/config.mjs'
|
import { testPatternConfig } from '../../../tests/patterns/config.mjs'
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
// This file is auto-generated.
|
// This file is auto-generated.
|
||||||
// Changes you make will be overwritten.
|
// Changes you make will be overwritten.
|
||||||
import plugin from '../dist/index.mjs'
|
import plugin from './dist/index.mjs'
|
||||||
import { sharedPluginTests } from '../../../tests/plugins/shared.mjs'
|
import { sharedPluginTests } from '../../../tests/plugins/shared.mjs'
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
// This file is auto-generated.
|
// This file is auto-generated.
|
||||||
// Changes you make will be overwritten.
|
// Changes you make will be overwritten.
|
||||||
import plugin from '../dist/index.mjs'
|
import plugin from './dist/index.mjs'
|
||||||
import { sharedPluginTests } from '../../../tests/plugins/shared.mjs'
|
import { sharedPluginTests } from '../../../tests/plugins/shared.mjs'
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
// This file is auto-generated.
|
// This file is auto-generated.
|
||||||
// Changes you make will be overwritten.
|
// Changes you make will be overwritten.
|
||||||
import plugin from '../dist/index.mjs'
|
import plugin from './dist/index.mjs'
|
||||||
import { sharedPluginTests } from '../../../tests/plugins/shared.mjs'
|
import { sharedPluginTests } from '../../../tests/plugins/shared.mjs'
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
// This file is auto-generated.
|
// This file is auto-generated.
|
||||||
// Changes you make will be overwritten.
|
// Changes you make will be overwritten.
|
||||||
import plugin from '../dist/index.mjs'
|
import plugin from './dist/index.mjs'
|
||||||
import { sharedPluginTests } from '../../../tests/plugins/shared.mjs'
|
import { sharedPluginTests } from '../../../tests/plugins/shared.mjs'
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
// This file is auto-generated.
|
// This file is auto-generated.
|
||||||
// Changes you make will be overwritten.
|
// Changes you make will be overwritten.
|
||||||
import plugin from '../dist/index.mjs'
|
import plugin from './dist/index.mjs'
|
||||||
import { sharedPluginTests } from '../../../tests/plugins/shared.mjs'
|
import { sharedPluginTests } from '../../../tests/plugins/shared.mjs'
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
// This file is auto-generated.
|
// This file is auto-generated.
|
||||||
// Changes you make will be overwritten.
|
// Changes you make will be overwritten.
|
||||||
import plugin from '../dist/index.mjs'
|
import plugin from './dist/index.mjs'
|
||||||
import { sharedPluginTests } from '../../../tests/plugins/shared.mjs'
|
import { sharedPluginTests } from '../../../tests/plugins/shared.mjs'
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
// This file is auto-generated.
|
// This file is auto-generated.
|
||||||
// Changes you make will be overwritten.
|
// Changes you make will be overwritten.
|
||||||
import plugin from '../dist/index.mjs'
|
import plugin from './dist/index.mjs'
|
||||||
import { sharedPluginTests } from '../../../tests/plugins/shared.mjs'
|
import { sharedPluginTests } from '../../../tests/plugins/shared.mjs'
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
// This file is auto-generated.
|
// This file is auto-generated.
|
||||||
// Changes you make will be overwritten.
|
// Changes you make will be overwritten.
|
||||||
import plugin from '../dist/index.mjs'
|
import plugin from './dist/index.mjs'
|
||||||
import { sharedPluginTests } from '../../../tests/plugins/shared.mjs'
|
import { sharedPluginTests } from '../../../tests/plugins/shared.mjs'
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
// This file is auto-generated.
|
// This file is auto-generated.
|
||||||
// Changes you make will be overwritten.
|
// Changes you make will be overwritten.
|
||||||
import plugin from '../dist/index.mjs'
|
import plugin from './dist/index.mjs'
|
||||||
import { sharedPluginTests } from '../../../tests/plugins/shared.mjs'
|
import { sharedPluginTests } from '../../../tests/plugins/shared.mjs'
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
// This file is auto-generated.
|
// This file is auto-generated.
|
||||||
// Changes you make will be overwritten.
|
// Changes you make will be overwritten.
|
||||||
import plugin from '../dist/index.mjs'
|
import plugin from './dist/index.mjs'
|
||||||
import { sharedPluginTests } from '../../../tests/plugins/shared.mjs'
|
import { sharedPluginTests } from '../../../tests/plugins/shared.mjs'
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
// This file is auto-generated.
|
// This file is auto-generated.
|
||||||
// Changes you make will be overwritten.
|
// Changes you make will be overwritten.
|
||||||
import plugin from '../dist/index.mjs'
|
import plugin from './dist/index.mjs'
|
||||||
import { sharedPluginTests } from '../../../tests/plugins/shared.mjs'
|
import { sharedPluginTests } from '../../../tests/plugins/shared.mjs'
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
import chai from 'chai'
|
import chai from 'chai'
|
||||||
import freesewing from '@freesewing/core'
|
import freesewing from '@freesewing/core'
|
||||||
import plugin from '../dist/index.mjs'
|
import plugin from '../dist/index.mjs'
|
||||||
import { strings } from '@freesewing/i18n'
|
import i18n from '@freesewing/i18n'
|
||||||
|
const strings = i18n.strings
|
||||||
|
|
||||||
const expect = chai.expect
|
const expect = chai.expect
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
// This file is auto-generated.
|
// This file is auto-generated.
|
||||||
// Changes you make will be overwritten.
|
// Changes you make will be overwritten.
|
||||||
import plugin from '../dist/index.mjs'
|
import plugin from './dist/index.mjs'
|
||||||
import { sharedPluginTests } from '../../../tests/plugins/shared.mjs'
|
import { sharedPluginTests } from '../../../tests/plugins/shared.mjs'
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
// This file is auto-generated.
|
// This file is auto-generated.
|
||||||
// Changes you make will be overwritten.
|
// Changes you make will be overwritten.
|
||||||
import plugin from '../dist/index.mjs'
|
import plugin from './dist/index.mjs'
|
||||||
import { sharedPluginTests } from '../../../tests/plugins/shared.mjs'
|
import { sharedPluginTests } from '../../../tests/plugins/shared.mjs'
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
// This file is auto-generated.
|
// This file is auto-generated.
|
||||||
// Changes you make will be overwritten.
|
// Changes you make will be overwritten.
|
||||||
import plugin from '../dist/index.mjs'
|
import plugin from './dist/index.mjs'
|
||||||
import { sharedPluginTests } from '../../../tests/plugins/shared.mjs'
|
import { sharedPluginTests } from '../../../tests/plugins/shared.mjs'
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
// This file is auto-generated.
|
// This file is auto-generated.
|
||||||
// Changes you make will be overwritten.
|
// Changes you make will be overwritten.
|
||||||
import plugin from '../dist/index.mjs'
|
import plugin from './dist/index.mjs'
|
||||||
import { sharedPluginTests } from '../../../tests/plugins/shared.mjs'
|
import { sharedPluginTests } from '../../../tests/plugins/shared.mjs'
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
// This file is auto-generated.
|
// This file is auto-generated.
|
||||||
// Changes you make will be overwritten.
|
// Changes you make will be overwritten.
|
||||||
import plugin from '../dist/index.mjs'
|
import plugin from './dist/index.mjs'
|
||||||
import { sharedPluginTests } from '../../../tests/plugins/shared.mjs'
|
import { sharedPluginTests } from '../../../tests/plugins/shared.mjs'
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
// This file is auto-generated.
|
// This file is auto-generated.
|
||||||
// Changes you make will be overwritten.
|
// Changes you make will be overwritten.
|
||||||
import plugin from '../dist/index.mjs'
|
import plugin from './dist/index.mjs'
|
||||||
import { sharedPluginTests } from '../../../tests/plugins/shared.mjs'
|
import { sharedPluginTests } from '../../../tests/plugins/shared.mjs'
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
// This file is auto-generated.
|
// This file is auto-generated.
|
||||||
// Changes you make will be overwritten.
|
// Changes you make will be overwritten.
|
||||||
import plugin from '../dist/index.mjs'
|
import plugin from './dist/index.mjs'
|
||||||
import { sharedPluginTests } from '../../../tests/plugins/shared.mjs'
|
import { sharedPluginTests } from '../../../tests/plugins/shared.mjs'
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
// This file is auto-generated.
|
// This file is auto-generated.
|
||||||
// Changes you make will be overwritten.
|
// Changes you make will be overwritten.
|
||||||
import plugin from '../dist/index.mjs'
|
import plugin from './dist/index.mjs'
|
||||||
import { sharedPluginTests } from '../../../tests/plugins/shared.mjs'
|
import { sharedPluginTests } from '../../../tests/plugins/shared.mjs'
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
// This file is auto-generated.
|
// This file is auto-generated.
|
||||||
// Changes you make will be overwritten.
|
// Changes you make will be overwritten.
|
||||||
import plugin from '../dist/index.mjs'
|
import plugin from './dist/index.mjs'
|
||||||
import { sharedPluginTests } from '../../../tests/plugins/shared.mjs'
|
import { sharedPluginTests } from '../../../tests/plugins/shared.mjs'
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
// This file is auto-generated.
|
// This file is auto-generated.
|
||||||
// Changes you make will be overwritten.
|
// Changes you make will be overwritten.
|
||||||
import plugin from '../dist/index.mjs'
|
import plugin from './dist/index.mjs'
|
||||||
import { sharedPluginTests } from '../../../tests/plugins/shared.mjs'
|
import { sharedPluginTests } from '../../../tests/plugins/shared.mjs'
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
// This file is auto-generated.
|
// This file is auto-generated.
|
||||||
// Changes you make will be overwritten.
|
// Changes you make will be overwritten.
|
||||||
import plugin from '../dist/index.mjs'
|
import plugin from './dist/index.mjs'
|
||||||
import { sharedPluginTests } from '../../../tests/plugins/shared.mjs'
|
import { sharedPluginTests } from '../../../tests/plugins/shared.mjs'
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
// This file is auto-generated.
|
// This file is auto-generated.
|
||||||
// Changes you make will be overwritten.
|
// Changes you make will be overwritten.
|
||||||
import plugin from '../dist/index.mjs'
|
import plugin from './dist/index.mjs'
|
||||||
import { sharedPluginTests } from '../../../tests/plugins/shared.mjs'
|
import { sharedPluginTests } from '../../../tests/plugins/shared.mjs'
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
// This file is auto-generated.
|
// This file is auto-generated.
|
||||||
// Changes you make will be overwritten.
|
// Changes you make will be overwritten.
|
||||||
import plugin from '../dist/index.mjs'
|
import plugin from './dist/index.mjs'
|
||||||
import { sharedPluginTests } from '../../../tests/plugins/shared.mjs'
|
import { sharedPluginTests } from '../../../tests/plugins/shared.mjs'
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
import chai from 'chai'
|
import chai from 'chai'
|
||||||
import models from '@freesewing/models'
|
import models from '@freesewing/models'
|
||||||
import patterns from '@freesewing/pattern-info'
|
import patterns from '@freesewing/pattern-info'
|
||||||
import Plugintest from '../dist/index.mjs'
|
import Plugintest from './dist/index.mjs'
|
||||||
|
|
||||||
// Shared tests
|
// Shared tests
|
||||||
import { testPatternConfig } from '../../../tests/patterns/config.mjs'
|
import { testPatternConfig } from '../../../tests/patterns/config.mjs'
|
||||||
|
|
|
@ -1,39 +0,0 @@
|
||||||
// This file is auto-generated.
|
|
||||||
// Changes you make will be overwritten.
|
|
||||||
const expect = require("chai").expect;
|
|
||||||
const models = require("@freesewing/models")
|
|
||||||
const patterns = require("@freesewing/pattern-info")
|
|
||||||
|
|
||||||
const Rendertest = require('../dist')
|
|
||||||
|
|
||||||
// Shared tests
|
|
||||||
const testPatternConfig = require('../../../tests/patterns/config')
|
|
||||||
const testPatternDrafting = require('../../../tests/patterns/drafting')
|
|
||||||
const testPatternSampling = require('../../../tests/patterns/sampling')
|
|
||||||
|
|
||||||
// Test config
|
|
||||||
testPatternConfig(
|
|
||||||
'rendertest',
|
|
||||||
new Rendertest(),
|
|
||||||
expect,
|
|
||||||
models,
|
|
||||||
patterns
|
|
||||||
)
|
|
||||||
|
|
||||||
// Test drafting
|
|
||||||
testPatternDrafting(
|
|
||||||
'rendertest',
|
|
||||||
Rendertest,
|
|
||||||
expect,
|
|
||||||
models,
|
|
||||||
patterns
|
|
||||||
)
|
|
||||||
|
|
||||||
// Test sampling
|
|
||||||
testPatternSampling(
|
|
||||||
'rendertest',
|
|
||||||
Rendertest,
|
|
||||||
expect,
|
|
||||||
models,
|
|
||||||
patterns
|
|
||||||
)
|
|
|
@ -3,7 +3,7 @@
|
||||||
import chai from 'chai'
|
import chai from 'chai'
|
||||||
import models from '@freesewing/models'
|
import models from '@freesewing/models'
|
||||||
import patterns from '@freesewing/pattern-info'
|
import patterns from '@freesewing/pattern-info'
|
||||||
import Rendertest from '../dist/index.mjs'
|
import Rendertest from './dist/index.mjs'
|
||||||
|
|
||||||
// Shared tests
|
// Shared tests
|
||||||
import { testPatternConfig } from '../../../tests/patterns/config.mjs'
|
import { testPatternConfig } from '../../../tests/patterns/config.mjs'
|
||||||
|
|
|
@ -1,39 +0,0 @@
|
||||||
// This file is auto-generated.
|
|
||||||
// Changes you make will be overwritten.
|
|
||||||
const expect = require("chai").expect;
|
|
||||||
const models = require("@freesewing/models")
|
|
||||||
const patterns = require("@freesewing/pattern-info")
|
|
||||||
|
|
||||||
const Sandy = require('../dist')
|
|
||||||
|
|
||||||
// Shared tests
|
|
||||||
const testPatternConfig = require('../../../tests/patterns/config')
|
|
||||||
const testPatternDrafting = require('../../../tests/patterns/drafting')
|
|
||||||
const testPatternSampling = require('../../../tests/patterns/sampling')
|
|
||||||
|
|
||||||
// Test config
|
|
||||||
testPatternConfig(
|
|
||||||
'sandy',
|
|
||||||
new Sandy(),
|
|
||||||
expect,
|
|
||||||
models,
|
|
||||||
patterns
|
|
||||||
)
|
|
||||||
|
|
||||||
// Test drafting
|
|
||||||
testPatternDrafting(
|
|
||||||
'sandy',
|
|
||||||
Sandy,
|
|
||||||
expect,
|
|
||||||
models,
|
|
||||||
patterns
|
|
||||||
)
|
|
||||||
|
|
||||||
// Test sampling
|
|
||||||
testPatternSampling(
|
|
||||||
'sandy',
|
|
||||||
Sandy,
|
|
||||||
expect,
|
|
||||||
models,
|
|
||||||
patterns
|
|
||||||
)
|
|
|
@ -3,7 +3,7 @@
|
||||||
import chai from 'chai'
|
import chai from 'chai'
|
||||||
import models from '@freesewing/models'
|
import models from '@freesewing/models'
|
||||||
import patterns from '@freesewing/pattern-info'
|
import patterns from '@freesewing/pattern-info'
|
||||||
import Sandy from '../dist/index.mjs'
|
import Sandy from './dist/index.mjs'
|
||||||
|
|
||||||
// Shared tests
|
// Shared tests
|
||||||
import { testPatternConfig } from '../../../tests/patterns/config.mjs'
|
import { testPatternConfig } from '../../../tests/patterns/config.mjs'
|
||||||
|
|
|
@ -1,39 +0,0 @@
|
||||||
// This file is auto-generated.
|
|
||||||
// Changes you make will be overwritten.
|
|
||||||
const expect = require("chai").expect;
|
|
||||||
const models = require("@freesewing/models")
|
|
||||||
const patterns = require("@freesewing/pattern-info")
|
|
||||||
|
|
||||||
const Shin = require('../dist')
|
|
||||||
|
|
||||||
// Shared tests
|
|
||||||
const testPatternConfig = require('../../../tests/patterns/config')
|
|
||||||
const testPatternDrafting = require('../../../tests/patterns/drafting')
|
|
||||||
const testPatternSampling = require('../../../tests/patterns/sampling')
|
|
||||||
|
|
||||||
// Test config
|
|
||||||
testPatternConfig(
|
|
||||||
'shin',
|
|
||||||
new Shin(),
|
|
||||||
expect,
|
|
||||||
models,
|
|
||||||
patterns
|
|
||||||
)
|
|
||||||
|
|
||||||
// Test drafting
|
|
||||||
testPatternDrafting(
|
|
||||||
'shin',
|
|
||||||
Shin,
|
|
||||||
expect,
|
|
||||||
models,
|
|
||||||
patterns
|
|
||||||
)
|
|
||||||
|
|
||||||
// Test sampling
|
|
||||||
testPatternSampling(
|
|
||||||
'shin',
|
|
||||||
Shin,
|
|
||||||
expect,
|
|
||||||
models,
|
|
||||||
patterns
|
|
||||||
)
|
|
|
@ -3,7 +3,7 @@
|
||||||
import chai from 'chai'
|
import chai from 'chai'
|
||||||
import models from '@freesewing/models'
|
import models from '@freesewing/models'
|
||||||
import patterns from '@freesewing/pattern-info'
|
import patterns from '@freesewing/pattern-info'
|
||||||
import Shin from '../dist/index.mjs'
|
import Shin from './dist/index.mjs'
|
||||||
|
|
||||||
// Shared tests
|
// Shared tests
|
||||||
import { testPatternConfig } from '../../../tests/patterns/config.mjs'
|
import { testPatternConfig } from '../../../tests/patterns/config.mjs'
|
||||||
|
|
|
@ -1,39 +0,0 @@
|
||||||
// This file is auto-generated.
|
|
||||||
// Changes you make will be overwritten.
|
|
||||||
const expect = require("chai").expect;
|
|
||||||
const models = require("@freesewing/models")
|
|
||||||
const patterns = require("@freesewing/pattern-info")
|
|
||||||
|
|
||||||
const Simon = require('../dist')
|
|
||||||
|
|
||||||
// Shared tests
|
|
||||||
const testPatternConfig = require('../../../tests/patterns/config')
|
|
||||||
const testPatternDrafting = require('../../../tests/patterns/drafting')
|
|
||||||
const testPatternSampling = require('../../../tests/patterns/sampling')
|
|
||||||
|
|
||||||
// Test config
|
|
||||||
testPatternConfig(
|
|
||||||
'simon',
|
|
||||||
new Simon(),
|
|
||||||
expect,
|
|
||||||
models,
|
|
||||||
patterns
|
|
||||||
)
|
|
||||||
|
|
||||||
// Test drafting
|
|
||||||
testPatternDrafting(
|
|
||||||
'simon',
|
|
||||||
Simon,
|
|
||||||
expect,
|
|
||||||
models,
|
|
||||||
patterns
|
|
||||||
)
|
|
||||||
|
|
||||||
// Test sampling
|
|
||||||
testPatternSampling(
|
|
||||||
'simon',
|
|
||||||
Simon,
|
|
||||||
expect,
|
|
||||||
models,
|
|
||||||
patterns
|
|
||||||
)
|
|
|
@ -3,7 +3,7 @@
|
||||||
import chai from 'chai'
|
import chai from 'chai'
|
||||||
import models from '@freesewing/models'
|
import models from '@freesewing/models'
|
||||||
import patterns from '@freesewing/pattern-info'
|
import patterns from '@freesewing/pattern-info'
|
||||||
import Simon from '../dist/index.mjs'
|
import Simon from './dist/index.mjs'
|
||||||
|
|
||||||
// Shared tests
|
// Shared tests
|
||||||
import { testPatternConfig } from '../../../tests/patterns/config.mjs'
|
import { testPatternConfig } from '../../../tests/patterns/config.mjs'
|
||||||
|
|
|
@ -1,39 +0,0 @@
|
||||||
// This file is auto-generated.
|
|
||||||
// Changes you make will be overwritten.
|
|
||||||
const expect = require("chai").expect;
|
|
||||||
const models = require("@freesewing/models")
|
|
||||||
const patterns = require("@freesewing/pattern-info")
|
|
||||||
|
|
||||||
const Simone = require('../dist')
|
|
||||||
|
|
||||||
// Shared tests
|
|
||||||
const testPatternConfig = require('../../../tests/patterns/config')
|
|
||||||
const testPatternDrafting = require('../../../tests/patterns/drafting')
|
|
||||||
const testPatternSampling = require('../../../tests/patterns/sampling')
|
|
||||||
|
|
||||||
// Test config
|
|
||||||
testPatternConfig(
|
|
||||||
'simone',
|
|
||||||
new Simone(),
|
|
||||||
expect,
|
|
||||||
models,
|
|
||||||
patterns
|
|
||||||
)
|
|
||||||
|
|
||||||
// Test drafting
|
|
||||||
testPatternDrafting(
|
|
||||||
'simone',
|
|
||||||
Simone,
|
|
||||||
expect,
|
|
||||||
models,
|
|
||||||
patterns
|
|
||||||
)
|
|
||||||
|
|
||||||
// Test sampling
|
|
||||||
testPatternSampling(
|
|
||||||
'simone',
|
|
||||||
Simone,
|
|
||||||
expect,
|
|
||||||
models,
|
|
||||||
patterns
|
|
||||||
)
|
|
|
@ -3,7 +3,7 @@
|
||||||
import chai from 'chai'
|
import chai from 'chai'
|
||||||
import models from '@freesewing/models'
|
import models from '@freesewing/models'
|
||||||
import patterns from '@freesewing/pattern-info'
|
import patterns from '@freesewing/pattern-info'
|
||||||
import Simone from '../dist/index.mjs'
|
import Simone from './dist/index.mjs'
|
||||||
|
|
||||||
// Shared tests
|
// Shared tests
|
||||||
import { testPatternConfig } from '../../../tests/patterns/config.mjs'
|
import { testPatternConfig } from '../../../tests/patterns/config.mjs'
|
||||||
|
|
|
@ -1,39 +0,0 @@
|
||||||
// This file is auto-generated.
|
|
||||||
// Changes you make will be overwritten.
|
|
||||||
const expect = require("chai").expect;
|
|
||||||
const models = require("@freesewing/models")
|
|
||||||
const patterns = require("@freesewing/pattern-info")
|
|
||||||
|
|
||||||
const Sven = require('../dist')
|
|
||||||
|
|
||||||
// Shared tests
|
|
||||||
const testPatternConfig = require('../../../tests/patterns/config')
|
|
||||||
const testPatternDrafting = require('../../../tests/patterns/drafting')
|
|
||||||
const testPatternSampling = require('../../../tests/patterns/sampling')
|
|
||||||
|
|
||||||
// Test config
|
|
||||||
testPatternConfig(
|
|
||||||
'sven',
|
|
||||||
new Sven(),
|
|
||||||
expect,
|
|
||||||
models,
|
|
||||||
patterns
|
|
||||||
)
|
|
||||||
|
|
||||||
// Test drafting
|
|
||||||
testPatternDrafting(
|
|
||||||
'sven',
|
|
||||||
Sven,
|
|
||||||
expect,
|
|
||||||
models,
|
|
||||||
patterns
|
|
||||||
)
|
|
||||||
|
|
||||||
// Test sampling
|
|
||||||
testPatternSampling(
|
|
||||||
'sven',
|
|
||||||
Sven,
|
|
||||||
expect,
|
|
||||||
models,
|
|
||||||
patterns
|
|
||||||
)
|
|
|
@ -3,7 +3,7 @@
|
||||||
import chai from 'chai'
|
import chai from 'chai'
|
||||||
import models from '@freesewing/models'
|
import models from '@freesewing/models'
|
||||||
import patterns from '@freesewing/pattern-info'
|
import patterns from '@freesewing/pattern-info'
|
||||||
import Sven from '../dist/index.mjs'
|
import Sven from './dist/index.mjs'
|
||||||
|
|
||||||
// Shared tests
|
// Shared tests
|
||||||
import { testPatternConfig } from '../../../tests/patterns/config.mjs'
|
import { testPatternConfig } from '../../../tests/patterns/config.mjs'
|
||||||
|
|
|
@ -1,39 +0,0 @@
|
||||||
// This file is auto-generated.
|
|
||||||
// Changes you make will be overwritten.
|
|
||||||
const expect = require("chai").expect;
|
|
||||||
const models = require("@freesewing/models")
|
|
||||||
const patterns = require("@freesewing/pattern-info")
|
|
||||||
|
|
||||||
const Tamiko = require('../dist')
|
|
||||||
|
|
||||||
// Shared tests
|
|
||||||
const testPatternConfig = require('../../../tests/patterns/config')
|
|
||||||
const testPatternDrafting = require('../../../tests/patterns/drafting')
|
|
||||||
const testPatternSampling = require('../../../tests/patterns/sampling')
|
|
||||||
|
|
||||||
// Test config
|
|
||||||
testPatternConfig(
|
|
||||||
'tamiko',
|
|
||||||
new Tamiko(),
|
|
||||||
expect,
|
|
||||||
models,
|
|
||||||
patterns
|
|
||||||
)
|
|
||||||
|
|
||||||
// Test drafting
|
|
||||||
testPatternDrafting(
|
|
||||||
'tamiko',
|
|
||||||
Tamiko,
|
|
||||||
expect,
|
|
||||||
models,
|
|
||||||
patterns
|
|
||||||
)
|
|
||||||
|
|
||||||
// Test sampling
|
|
||||||
testPatternSampling(
|
|
||||||
'tamiko',
|
|
||||||
Tamiko,
|
|
||||||
expect,
|
|
||||||
models,
|
|
||||||
patterns
|
|
||||||
)
|
|
|
@ -3,7 +3,7 @@
|
||||||
import chai from 'chai'
|
import chai from 'chai'
|
||||||
import models from '@freesewing/models'
|
import models from '@freesewing/models'
|
||||||
import patterns from '@freesewing/pattern-info'
|
import patterns from '@freesewing/pattern-info'
|
||||||
import Tamiko from '../dist/index.mjs'
|
import Tamiko from './dist/index.mjs'
|
||||||
|
|
||||||
// Shared tests
|
// Shared tests
|
||||||
import { testPatternConfig } from '../../../tests/patterns/config.mjs'
|
import { testPatternConfig } from '../../../tests/patterns/config.mjs'
|
||||||
|
|
|
@ -1,39 +0,0 @@
|
||||||
// This file is auto-generated.
|
|
||||||
// Changes you make will be overwritten.
|
|
||||||
const expect = require("chai").expect;
|
|
||||||
const models = require("@freesewing/models")
|
|
||||||
const patterns = require("@freesewing/pattern-info")
|
|
||||||
|
|
||||||
const Teagan = require('../dist')
|
|
||||||
|
|
||||||
// Shared tests
|
|
||||||
const testPatternConfig = require('../../../tests/patterns/config')
|
|
||||||
const testPatternDrafting = require('../../../tests/patterns/drafting')
|
|
||||||
const testPatternSampling = require('../../../tests/patterns/sampling')
|
|
||||||
|
|
||||||
// Test config
|
|
||||||
testPatternConfig(
|
|
||||||
'teagan',
|
|
||||||
new Teagan(),
|
|
||||||
expect,
|
|
||||||
models,
|
|
||||||
patterns
|
|
||||||
)
|
|
||||||
|
|
||||||
// Test drafting
|
|
||||||
testPatternDrafting(
|
|
||||||
'teagan',
|
|
||||||
Teagan,
|
|
||||||
expect,
|
|
||||||
models,
|
|
||||||
patterns
|
|
||||||
)
|
|
||||||
|
|
||||||
// Test sampling
|
|
||||||
testPatternSampling(
|
|
||||||
'teagan',
|
|
||||||
Teagan,
|
|
||||||
expect,
|
|
||||||
models,
|
|
||||||
patterns
|
|
||||||
)
|
|
|
@ -3,7 +3,7 @@
|
||||||
import chai from 'chai'
|
import chai from 'chai'
|
||||||
import models from '@freesewing/models'
|
import models from '@freesewing/models'
|
||||||
import patterns from '@freesewing/pattern-info'
|
import patterns from '@freesewing/pattern-info'
|
||||||
import Teagan from '../dist/index.mjs'
|
import Teagan from './dist/index.mjs'
|
||||||
|
|
||||||
// Shared tests
|
// Shared tests
|
||||||
import { testPatternConfig } from '../../../tests/patterns/config.mjs'
|
import { testPatternConfig } from '../../../tests/patterns/config.mjs'
|
||||||
|
|
|
@ -1,39 +0,0 @@
|
||||||
// This file is auto-generated.
|
|
||||||
// Changes you make will be overwritten.
|
|
||||||
const expect = require("chai").expect;
|
|
||||||
const models = require("@freesewing/models")
|
|
||||||
const patterns = require("@freesewing/pattern-info")
|
|
||||||
|
|
||||||
const Theo = require('../dist')
|
|
||||||
|
|
||||||
// Shared tests
|
|
||||||
const testPatternConfig = require('../../../tests/patterns/config')
|
|
||||||
const testPatternDrafting = require('../../../tests/patterns/drafting')
|
|
||||||
const testPatternSampling = require('../../../tests/patterns/sampling')
|
|
||||||
|
|
||||||
// Test config
|
|
||||||
testPatternConfig(
|
|
||||||
'theo',
|
|
||||||
new Theo(),
|
|
||||||
expect,
|
|
||||||
models,
|
|
||||||
patterns
|
|
||||||
)
|
|
||||||
|
|
||||||
// Test drafting
|
|
||||||
testPatternDrafting(
|
|
||||||
'theo',
|
|
||||||
Theo,
|
|
||||||
expect,
|
|
||||||
models,
|
|
||||||
patterns
|
|
||||||
)
|
|
||||||
|
|
||||||
// Test sampling
|
|
||||||
testPatternSampling(
|
|
||||||
'theo',
|
|
||||||
Theo,
|
|
||||||
expect,
|
|
||||||
models,
|
|
||||||
patterns
|
|
||||||
)
|
|
|
@ -3,7 +3,7 @@
|
||||||
import chai from 'chai'
|
import chai from 'chai'
|
||||||
import models from '@freesewing/models'
|
import models from '@freesewing/models'
|
||||||
import patterns from '@freesewing/pattern-info'
|
import patterns from '@freesewing/pattern-info'
|
||||||
import Theo from '../dist/index.mjs'
|
import Theo from './dist/index.mjs'
|
||||||
|
|
||||||
// Shared tests
|
// Shared tests
|
||||||
import { testPatternConfig } from '../../../tests/patterns/config.mjs'
|
import { testPatternConfig } from '../../../tests/patterns/config.mjs'
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue