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