2023-11-25 20:53:02 -05:00
|
|
|
// This file is auto-generated | Any changes you make will be overwritten.
|
2025-04-01 16:15:20 +02:00
|
|
|
import { Opal, about, i18n } from '../src/index.mjs'
|
2023-11-25 20:53:02 -05:00
|
|
|
|
|
|
|
// 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
|
2025-04-01 16:15:20 +02:00
|
|
|
testPatternConfig(Opal, about)
|
2023-11-25 20:53:02 -05:00
|
|
|
|
|
|
|
// Test translation
|
|
|
|
testPatternI18n(Opal, i18n)
|
|
|
|
|
|
|
|
// Test drafting - Change the second parameter to `true` to log errors
|
|
|
|
testPatternDrafting(Opal, false)
|
|
|
|
|
|
|
|
// Test sampling - Change the second parameter to `true` to log errors
|
|
|
|
testPatternSampling(Opal, false)
|