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

21 lines
730 B
JavaScript
Raw Normal View History

2022-08-28 17:58:12 +02:00
// This file is auto-generated | Any changes you make will be overwritten.
import { Bee, about, i18n } from '../src/index.mjs'
// Shared tests
2022-08-28 17:58:12 +02:00
import { testPatternConfig } from '../../../tests/designs/config.mjs'
2023-07-02 11:48:42 +02:00
import { testPatternI18n } from '../../../tests/designs/i18n.mjs'
2022-08-28 17:58:12 +02:00
import { testPatternDrafting } from '../../../tests/designs/drafting.mjs'
import { testPatternSampling } from '../../../tests/designs/sampling.mjs'
// Test config
testPatternConfig(Bee, about)
2023-07-02 11:48:42 +02:00
// Test translation
testPatternI18n(Bee, i18n)
2022-08-28 17:58:12 +02:00
// Test drafting - Change the second parameter to `true` to log errors
2022-09-11 18:02:25 +02:00
testPatternDrafting(Bee, false)
2022-08-28 17:58:12 +02:00
// Test sampling - Change the second parameter to `true` to log errors
testPatternSampling(Bee, false)