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

17 lines
616 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 { Tutorial } 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(Tutorial)
2022-08-29 08:31:23 +02:00
// Test drafting - Change the second parameter to `true` to log errors
testPatternDrafting(Tutorial, false)
2022-08-29 08:31:23 +02:00
// Test sampling - Change the second parameter to `true` to log errors
testPatternSampling(Tutorial, false)