Add expected locale settings to JS test setup.
This commit is contained in:
parent
3285ac4980
commit
9581a658f5
|
@ -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' );
|
||||
|
|
Loading…
Reference in New Issue