jamesplease/backbone.premium-router

Test the promise being rejected due to an error

开放

#19 创建于 2015年2月26日

 (1 条评论) (0 个反应) (0 位负责人)JavaScript (2 个派生)github user discovery
help wantedtests

仓库指标

星标
 (7 个星标)
PR 合并指标
 (30 天内没有已合并 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!

贡献者指南