{"comment":{"url":"https://api.github.com/repos/jelbourn/material/comments/14139594","html_url":"https://github.com/jelbourn/material/commit/2b46ec05a32d4044069342c8d7f68e357db5e5bc#commitcomment-14139594","id":14139594,"user":{"login":"mhchen","id":1325549,"avatar_url":"https://avatars.githubusercontent.com/u/1325549?v=3","gravatar_id":"","url":"https://api.github.com/users/mhchen","html_url":"https://github.com/mhchen","followers_url":"https://api.github.com/users/mhchen/followers","following_url":"https://api.github.com/users/mhchen/following{/other_user}","gists_url":"https://api.github.com/users/mhchen/gists{/gist_id}","starred_url":"https://api.github.com/users/mhchen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mhchen/subscriptions","organizations_url":"https://api.github.com/users/mhchen/orgs","repos_url":"https://api.github.com/users/mhchen/repos","events_url":"https://api.github.com/users/mhchen/events{/privacy}","received_events_url":"https://api.github.com/users/mhchen/received_events","type":"User","site_admin":false},"position":8,"line":101,"path":"src/components/datepicker/datePicker.spec.js","commit_id":"2b46ec05a32d4044069342c8d7f68e357db5e5bc","created_at":"2015-11-02T21:59:04Z","updated_at":"2015-11-02T21:59:04Z","body":"Optional: Would suggest using a regex here that matches the pertinent parts of the error message. I've found that matching the entire error is always a bit brittle. Maybe something like:\r\n\r\n.toThrowError(/must be a Date instance/);\r\n\r\nAgain, totally opinion, so your call"}}