jamesplease/backbone.premium-router

Test the promise being rejected due to an error

Open

#19 geöffnet am 26. Feb. 2015

Auf GitHub ansehen
 (1 Kommentar) (0 Reaktionen) (0 zugewiesene Personen)JavaScript (2 Forks)github user discovery
help wantedtests

Repository-Metriken

Stars
 (7 Stars)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

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!

Contributor Guide