Skip to content

Commit 5d51c54

Browse files
committed
test: fix translation tests
1 parent 6d1c5ec commit 5d51c54

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/i18n/__tests__/Streami18n.test.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ describe('Streami18n instance - with built-in langauge', () => {
9696
(key.includes('{{') && key.includes('}}')) ||
9797
key.includes('duration/Message reminder') ||
9898
key.includes('duration/Remind Me') ||
99+
key.includes('duration/Share Location') ||
99100
typeof nlTranslations[key] !== 'string'
100101
) {
101102
continue;
@@ -125,6 +126,7 @@ describe('Streami18n instance - with built-in langauge', () => {
125126
(key.includes('{{') && key.includes('}}')) ||
126127
key.includes('duration/Message reminder') ||
127128
key.includes('duration/Remind Me') ||
129+
key.includes('duration/Share Location') ||
128130
typeof nlTranslations[key] !== 'string'
129131
) {
130132
continue;
@@ -248,6 +250,7 @@ describe('setLanguage - switch to french', () => {
248250
(key.includes('{{') && key.includes('}}')) ||
249251
key.includes('duration/Message reminder') ||
250252
key.includes('duration/Remind Me') ||
253+
key.includes('duration/Share Location') ||
251254
typeof nlTranslations[key] !== 'string'
252255
) {
253256
continue;

0 commit comments

Comments
 (0)