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.

cancel() does not work in ngMock's $interval #6099

Closed
@kseamon

Description

Calls to cancel in ngMock's $interval throw "TypeError: Cannot read property '$$intervalId' of undefined".

It tries to access the promise local variable outside of the scope in which it was declared.

Activity

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

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions