mock-property

mock-property

ljharb

Given an object and a property, replaces a property descriptor (or deletes it), and returns a thunk to restore it.

7 Stars
1 Forks
7 Watchers
JavaScript Language
mit License
Cost to Build
$850
Market Value
$604

Growth over time

3 data points  ·  2022-05-26 → 2023-02-15
Stars Forks Watchers
💬

How do you feel about this project?

Ask AI about mock-property

Question copied to clipboard

What is the ljharb/mock-property GitHub project? Description: "Given an object and a property, replaces a property descriptor (or deletes it), and returns a thunk to restore it.". Written in JavaScript. Explain what it does, its main use cases, key features, and who would benefit from using it.

Question is copied to clipboard — paste it after the AI opens.

How to clone mock-property

Clone via HTTPS

git clone https://github.com/ljharb/mock-property.git

Clone via SSH

[email protected]:ljharb/mock-property.git

Download ZIP

Download master.zip

Found an issue?

Report bugs or request features on the mock-property issue tracker:

Open GitHub Issues