1
0
Fork 0
freesewing/config/templates/design.test.mjs.mustache

26 lines
1,005 B
Text
Raw Normal View History

// 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'
2022-07-31 16:13:51 +02:00
// Shared tests
import { testPatternConfig } from '../../../tests/designs/config.mjs'
2023-07-02 11:48:42 +02:00
import { testPatternI18n } from '../../../tests/designs/i18n.mjs'
import { testPatternDrafting } from '../../../tests/designs/drafting.mjs'
import { testPatternSampling } from '../../../tests/designs/sampling.mjs'
2022-07-31 16:13:51 +02:00
// Test config
testPatternConfig($$Name$$, about)
2022-07-31 16:13:51 +02:00
2023-07-02 11:48:42 +02:00
// Test translation
testPatternI18n($$Name$$, i18n)
// Test drafting - Change the second parameter to `true` to log errors
testPatternDrafting($$Name$$, false)
2022-07-31 16:13:51 +02:00
// Test sampling - Change the second parameter to `true` to log errors
testPatternSampling($$Name$$, false)