property-replacer (npm): Safely replace a property of an object with the ability to restore to the original state.  Also provide a way to snoop on function calls.  Useful for test driven development.
Keywords: replace|property|function|unit|test