1
0
Fork 0
freesewing/designs/benjamin/tests/shared.test.mjs
Joost De Cock 51dc1d9732
[breaking]: FreeSewing v4 (#7297)
Refer to the CHANGELOG for all info.

---------

Co-authored-by: Wouter van Wageningen <wouter.vdub@yahoo.com>
Co-authored-by: Josh Munic <jpmunic@gmail.com>
Co-authored-by: Jonathan Haas <haasjona@gmail.com>
2025-04-01 16:15:20 +02:00

20 lines
755 B
JavaScript

// This file is auto-generated | Any changes you make will be overwritten.
import { Benjamin, about, i18n } from '../src/index.mjs'
// Shared tests
import { testPatternConfig } from '../../../tests/designs/config.mjs'
import { testPatternI18n } from '../../../tests/designs/i18n.mjs'
import { testPatternDrafting } from '../../../tests/designs/drafting.mjs'
import { testPatternSampling } from '../../../tests/designs/sampling.mjs'
// Test config
testPatternConfig(Benjamin, about)
// Test translation
testPatternI18n(Benjamin, i18n)
// Test drafting - Change the second parameter to `true` to log errors
testPatternDrafting(Benjamin, false)
// Test sampling - Change the second parameter to `true` to log errors
testPatternSampling(Benjamin, false)