20 lines
721 B
JavaScript
20 lines
721 B
JavaScript
// This file is auto-generated | Any changes you make will be overwritten.
|
|
import { Opal, i18n } from '../src/index.mjs'
|
|
|
|
// 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
|
|
testPatternConfig(Opal)
|
|
|
|
// 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)
|