2022-10-10 01:38:22 +02:00
|
|
|
// This file is auto-generated | Any changes you make will be overwritten.
|
2023-07-02 11:48:42 +02:00
|
|
|
import { Examples, i18n } from '../src/index.mjs'
|
2022-10-10 01:38:22 +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'
|
2022-10-10 01:38:22 +02:00
|
|
|
import { testPatternDrafting } from '../../../tests/designs/drafting.mjs'
|
2022-10-11 01:41:27 +02:00
|
|
|
import { testPatternSampling } from '../../../tests/designs/sampling.mjs'
|
2022-10-10 01:38:22 +02:00
|
|
|
|
|
|
|
// Test config
|
|
|
|
testPatternConfig(Examples)
|
|
|
|
|
2023-07-02 11:48:42 +02:00
|
|
|
// Test translation
|
|
|
|
testPatternI18n(Examples, i18n)
|
|
|
|
|
2022-10-10 01:38:22 +02:00
|
|
|
// Test drafting - Change the second parameter to `true` to log errors
|
|
|
|
testPatternDrafting(Examples, false)
|
|
|
|
|
|
|
|
// Test sampling - Change the second parameter to `true` to log errors
|
2022-10-11 01:41:27 +02:00
|
|
|
testPatternSampling(Examples, false)
|