Matt Keith

Results 12 issues of Matt Keith

set node version to v12.18 (also fails in v12.3 and probably all of v12) run 'yarn tests' see integration test errors ``` yesno ✓ should send get to test server...

This is the initial framework for adding mockRule support. The existing behavior is unchanged if no rules are defined. Future PRs will implement the rule types and modes. Closes #86...

add support for custom defined mock with mockRule().respond()

Add a respond method to the yesno Rules class. This method will set the action for the last rule added to the internal array to `respond` and save the passed...

Add a live method to the yesno Rules class. This method will set the action for the last rule added to the internal array to `live`. A live action will...

Add a record method to the yesno Rules class. This method will set the action for the last rule added to the internal array to `record`. A record action will...

By default, each recorded mock will be matched and used one time. This is considered `strict` mode, but the user could change this to a `firstMatch` mode where the first...

Update the default behavior to use the first matching mock with a max mock use count of 1. This will allow yesno to support out of order mocks but will...

Add a mockMatchingFunction method to the yesno class. This method will be passed a callback function that will be used to override the default internal matching function for matching requests...

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...