Do you want to request a feature or report a bug?
Bug
What is the current behavior?
If a number uses the function toLocaleString passing a 'es' locale it returns the format in US format
If the current behavior is a bug, please provide the steps to reproduce and either a repl.it demo through https://repl.it/languages/jest or a minimal repository on GitHub that we can yarn install and yarn test.
Look at this url https://github.com/gabrielseco/jest-locale-bug if you start the app you'll see the number formatted correctly in the browser though if you execute npm test the test will fail
What is the expected behavior?
Have the same format that the browser displays
Please provide your exact Jest configuration and mention your Jest, node, yarn/npm version and operating system.
Please read this comment on StackOverflow:
http://stackoverflow.com/a/23200062/6176714
Most helpful comment
Please read this comment on StackOverflow:
http://stackoverflow.com/a/23200062/6176714