1
0
Fork 0
freesewing/config/templates/design.test.mjs.mustache
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

25 lines
1,005 B
Text

// This file is auto-generated | Any changes you make will be overwritten.
{{!
// Change the Mustache delimiter from double curly braces to double dollar signs.
// Dollar signs are allowed in EcmaScript identifier names,
// which is helpful when running unrendered Mustache templates through eslint.
//}}{{=$$ $$=}}
import { $$Name$$, 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($$Name$$, about)
// Test translation
testPatternI18n($$Name$$, i18n)
// Test drafting - Change the second parameter to `true` to log errors
testPatternDrafting($$Name$$, false)
// Test sampling - Change the second parameter to `true` to log errors
testPatternSampling($$Name$$, false)