gitmyhub

mock-property

JavaScript ★ 7 updated 1d ago

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

No plain-English explanation yet — one is being written right now. Check back in a minute.