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

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