Skip to content

Commit cb77816

Browse files
committed
test: fix simple translation tests
1 parent caec051 commit cb77816

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

src/i18n/__tests__/Streami18n.test.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,8 @@ describe('Streami18n instance - with built-in langauge', () => {
9494
for (const key in nlTranslations) {
9595
if (
9696
(key.includes('{{') && key.includes('}}')) ||
97+
key.includes('duration/Message reminder') ||
98+
key.includes('duration/Remind Me') ||
9799
typeof nlTranslations[key] !== 'string'
98100
) {
99101
continue;
@@ -121,6 +123,8 @@ describe('Streami18n instance - with built-in langauge', () => {
121123
for (const key in nlTranslations) {
122124
if (
123125
(key.includes('{{') && key.includes('}}')) ||
126+
key.includes('duration/Message reminder') ||
127+
key.includes('duration/Remind Me') ||
124128
typeof nlTranslations[key] !== 'string'
125129
) {
126130
continue;
@@ -242,6 +246,8 @@ describe('setLanguage - switch to french', () => {
242246
for (const key in frTranslations) {
243247
if (
244248
(key.includes('{{') && key.includes('}}')) ||
249+
key.includes('duration/Message reminder') ||
250+
key.includes('duration/Remind Me') ||
245251
typeof nlTranslations[key] !== 'string'
246252
) {
247253
continue;

0 commit comments

Comments
 (0)