Skip to content

Commit ede1142

Browse files
authored
Merge pull request #11426 from nextcloud/test/lang-locale-consistency
test: make tests run on every machine
2 parents 94dac17 + 90a44a3 commit ede1142

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/tests/setup.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ JestFetchMock.enableMocks()
1212

1313
global.appName = 'mail'
1414

15+
global._nc_l10n_locale = 'en'
16+
global._nc_l10n_language = 'en_US'
17+
1518
global.OC = {
1619
getLocale: () => 'en',
1720
getLanguage: () => 'en_US',

0 commit comments

Comments
 (0)