jamesplease/backbone.premium-router
在 GitHub 查看Test the promise being rejected due to an error
Open
#19 创建于 2015年2月26日
help wantedtests
仓库指标
- Star
- (7 star)
- PR 合并指标
- (PR 指标待抓取)
描述
These are (roughly) the tests.
I was unable to do this because mocha flips out when the fetch method throws an error. If anyone knows a way to test this code path – let me know!