Add expected locale settings to JS test setup.

This commit is contained in:
Jeff Stieler 2018-12-17 12:34:09 -07:00
parent 3285ac4980
commit 9581a658f5
1 changed files with 4 additions and 0 deletions

View File

@ -57,6 +57,10 @@ global.wcSettings = {
refunded: 'Refunded',
failed: 'Failed',
},
l10n: {
userLocale: 'en_US',
weekdaysShort: [ 'Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat' ],
},
};
setLocaleData( { '': { domain: 'wc-admin', lang: 'en_US' } }, 'wc-admin' );