Mock toLocaleString in Jest
01 Feb 2017
Found an issue while testing toLocaleString and other related JS prototype function. Described here is the way to mock them.