chore: Refactor urlParamsHelper.js (#5639)

This commit is contained in:
David Kubeš 2022-10-19 22:20:40 +02:00 committed by GitHub
parent 6bc34db932
commit c542d2e0ff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 16 deletions

View file

@ -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);
});
});