2022-08-27 09:29:38 +02:00
|
|
|
// This file is auto-generated | Any changes you make will be overwritten.
|
2022-11-12 09:20:45 +01:00
|
|
|
{{!
|
2022-10-13 09:10:18 -04:00
|
|
|
// 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.
|
|
|
|
//}}{{=$$ $$=}}
|
2025-04-01 16:15:20 +02:00
|
|
|
import { $$Name$$, about, i18n } from '../src/index.mjs'
|
2022-07-31 16:13:51 +02:00
|
|
|
|
|
|
|
// Shared tests
|
2022-08-27 09:29:38 +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-27 09:29:38 +02:00
|
|
|
import { testPatternDrafting } from '../../../tests/designs/drafting.mjs'
|
2022-10-06 21:01:58 +02:00
|
|
|
import { testPatternSampling } from '../../../tests/designs/sampling.mjs'
|
2022-07-31 16:13:51 +02:00
|
|
|
|
|
|
|
// Test config
|
2025-04-01 16:15:20 +02:00
|
|
|
testPatternConfig($$Name$$, about)
|
2022-07-31 16:13:51 +02:00
|
|
|
|
2023-07-02 11:48:42 +02:00
|
|
|
// Test translation
|
|
|
|
testPatternI18n($$Name$$, i18n)
|
|
|
|
|
2022-08-27 09:29:38 +02:00
|
|
|
// Test drafting - Change the second parameter to `true` to log errors
|
2022-10-13 09:10:18 -04:00
|
|
|
testPatternDrafting($$Name$$, false)
|
2022-07-31 16:13:51 +02:00
|
|
|
|
2022-08-27 09:29:38 +02:00
|
|
|
// Test sampling - Change the second parameter to `true` to log errors
|
2022-10-13 09:10:18 -04:00
|
|
|
testPatternSampling($$Name$$, false)
|