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

21 lines
741 B
JavaScript
Raw Normal View History

// This file is auto-generated | Any changes you make will be overwritten.
2023-07-02 11:48:42 +02:00
import { Examples, i18n } from '../src/index.mjs'
// Shared tests
import { testPatternConfig } from '../../../tests/designs/config.mjs'
2023-07-02 11:48:42 +02:00
import { testPatternI18n } from '../../../tests/designs/i18n.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)
2023-07-02 11:48:42 +02:00
// Test translation
testPatternI18n(Examples, i18n)
// 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)