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

21 lines
751 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.
2023-07-02 11:48:42 +02:00
import { Octoplushy, i18n } from '../src/index.mjs'
2022-07-16 04:06:26 +00:00
// Shared tests
2022-08-29 08:31:23 +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-29 08:31:23 +02:00
import { testPatternDrafting } from '../../../tests/designs/drafting.mjs'
import { testPatternSampling } from '../../../tests/designs/sampling.mjs'
2022-07-16 04:06:26 +00:00
// Test config
2022-08-29 08:31:23 +02:00
testPatternConfig(Octoplushy)
2022-07-16 04:06:26 +00:00
2023-07-02 11:48:42 +02:00
// Test translation
testPatternI18n(Octoplushy, i18n)
2022-08-29 08:31:23 +02:00
// Test drafting - Change the second parameter to `true` to log errors
testPatternDrafting(Octoplushy, false)
2022-07-16 04:06:26 +00:00
2022-08-29 08:31:23 +02:00
// Test sampling - Change the second parameter to `true` to log errors
testPatternSampling(Octoplushy, false)