FormidableLabs / yesno

Simple HTTP testing for NodeJS
MIT License
88 stars 6 forks source link

Feature: Implement yesno.mockRule().redact() #90

Open keithcom opened 4 years ago

keithcom commented 4 years ago

Add a redact method to the yesno Rules class. This method will set the action for the last rule added to the internal array to redact and save the list of properties to redact. A redact action will update properties in the intercepted array to redact their values to prevent sensitive information from being saved to disk.