2022-08-27 09:29:38 +02:00
|
|
|
// This file is auto-generated | Any changes you make will be overwritten.
|
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.
|
|
|
|
//}}{{=$$ $$=}}
|
|
|
|
|
|
|
|
import { $$Name$$ } 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'
|
|
|
|
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
|
2022-10-13 09:10:18 -04:00
|
|
|
testPatternConfig($$Name$$)
|
2022-07-31 16:13:51 +02:00
|
|
|
|
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)
|