Skip to content

implement spyOnProperty #5106

@phra

Description

@phra

Do you want to request a feature or report a bug?

FEATURE

What is the current behavior?

at the moment it's impossible to spy on a getter/setter due to the way the patching is done.
in jasmine they have implemented a special method called spyOnProperty to manage this use case.

What is the expected behavior?

spyOnProperty is implemented also in jest.

related to firebase/firebase-admin-node#160

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