diff --git a/cosmoz-i18next.js b/cosmoz-i18next.js index 01fd206..79a8673 100644 --- a/cosmoz-i18next.js +++ b/cosmoz-i18next.js @@ -253,6 +253,10 @@ const class CosmozI18Next extends PolymerElement { static get properties() { // eslint-disable-line max-lines-per-function return { + compatibilityJSON: { + type: String, + value: 'v3', + }, domain: { type: String, value: 'messages' @@ -296,6 +300,7 @@ class CosmozI18Next extends PolymerElement { ready() { super.ready(); i18n.init({ + compatibilityJSON: this.compatibilityJSON, interpolation: { escapeValue: false, prefix: this.interpolationPrefix, diff --git a/web-test-runner.config.mjs b/web-test-runner.config.mjs index fb97926..93ee6a8 100644 --- a/web-test-runner.config.mjs +++ b/web-test-runner.config.mjs @@ -1,6 +1 @@ -import cfg from '@neovici/cfg/web/test-runner.mjs'; - -export default { - ...cfg, - testFramework: { config: { ui: 'bdd' }}, -}; +export { default } from '@neovici/cfg/web/test-runner.mjs';