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

@IgorMinar

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.

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