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

17 lines
608 B
JavaScript
Raw Normal View History

2022-08-29 08:31:23 +02:00
// This file is auto-generated | Any changes you make will be overwritten.
import { Legend } from './dist/index.mjs'
// Shared tests
2022-08-29 08:31:23 +02:00
import { testPatternConfig } from '../../../tests/designs/config.mjs'
import { testPatternDrafting } from '../../../tests/designs/drafting.mjs'
import { testPatternSampling } from '../../../tests/designs/sampling.mjs'
// Test config
2022-08-29 08:31:23 +02:00
testPatternConfig(Legend)
2022-08-29 08:31:23 +02:00
// Test drafting - Change the second parameter to `true` to log errors
testPatternDrafting(Legend, false)
2022-08-29 08:31:23 +02:00
// Test sampling - Change the second parameter to `true` to log errors
testPatternSampling(Legend, false)