1
0
Fork 0
freesewing/designs/examples/tests/shared.test.mjs

17 lines
616 B
JavaScript
Raw Normal View History

// This file is auto-generated | Any changes you make will be overwritten.
import { Examples } from '../src/index.mjs'
// Shared tests
import { testPatternConfig } from '../../../tests/designs/config.mjs'
import { testPatternDrafting } from '../../../tests/designs/drafting.mjs'
2022-10-11 01:41:27 +02:00
import { testPatternSampling } from '../../../tests/designs/sampling.mjs'
// Test config
testPatternConfig(Examples)
// Test drafting - Change the second parameter to `true` to log errors
testPatternDrafting(Examples, false)
// Test sampling - Change the second parameter to `true` to log errors
2022-10-11 01:41:27 +02:00
testPatternSampling(Examples, false)