Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.
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

Description

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions