Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

$timeout mock should throw an error when not flushed #1245

Closed
IgorMinar opened this issue Aug 9, 2012 · 1 comment
Closed

$timeout mock should throw an error when not flushed #1245

IgorMinar opened this issue Aug 9, 2012 · 1 comment

Comments

@IgorMinar
Copy link
Contributor

if I use $timeout mock in a test and forget to flush some pending tasks, I should get a test failure. right now there is just silence.

There should be at least some method assertNoPending or something like that - just like $httpBackend has.

@zhenbzha
Copy link
Contributor

zhenbzha commented Sep 6, 2012

is it still a feature that is desired to have?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants