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.

$window mocking not working without document since 1.3.0 #9661

Closed
@tjokimie

Description

@tjokimie

I have tests for a directive that uses $window. Since 1.3.0 I cannot mock $window without having document property in $window.

I have a JSFiddle demonstrating this problem:

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions