jamesplease/backbone.premium-router

Test the promise being rejected due to an error

Open

#19 建立於 2015年2月26日

在 GitHub 查看
 (1 留言) (0 反應) (0 負責人)JavaScript (2 fork)github user discovery
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!

貢獻者指南