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

ngMock $interval uses promises to fire callbacks which depend on $apply #6100

Open
@kseamon

Description

@kseamon

If the invokeApply param is passed as false, callbacks registered with $interval will not fire (without a subsequent manual call to $apply).

This is because promises fire during the digest cycle on $rootScope.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions