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.

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

Closed
@kseamon

Description

@kseamon

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.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions