jamesplease/backbone.premium-router

Test the promise being rejected due to an error

Open

#19 opened on 2015年2月26日

GitHub で見る
 (1 comment) (0 reactions) (0 assignees)JavaScript (2 forks)github user discovery
help wantedtests

Repository metrics

Stars
 (7 stars)
PR merge metrics
 (PR metrics pending)

説明

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!

コントリビューターガイド