Open simison opened 7 years ago
Work in progress:
requestService
authService
httpBuffer
loginConfirmed
loginCancelled
data
retryAll
rejectAll
append
$http
Not sure when I'll have time next time with this, so if anyone feels like continuing from here, do it! :-)
Ah, damn, noticed only now #69 — will look into combining these.
Included event tests by @nils-wisiol from #69
Work in progress:
requestService
) for easier testingauthService
can be initialisedhttpBuffer
can be initialisedloginConfirmed
andloginCancelled
broadcasts eventsloginConfirmed
andloginCancelled
broadcasts events withdata
httpBuffer
's methodsretryAll
,rejectAll
, andappend
work$http
using (mock using $httpBackend)Not sure when I'll have time next time with this, so if anyone feels like continuing from here, do it! :-)