chore: Refactor urlParamsHelper.js (#5639)
This commit is contained in:
parent
6bc34db932
commit
c542d2e0ff
2 changed files with 12 additions and 16 deletions
|
@ -31,7 +31,7 @@ describe('#getLocale', () => {
|
|||
expect(getLocale('?test=1&cw_conv=2&website_token=3&locale=fr')).toEqual(
|
||||
'fr'
|
||||
);
|
||||
expect(getLocale('')).toEqual(undefined);
|
||||
expect(getLocale('')).toEqual(null);
|
||||
});
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue