A rather test-only function to copy some fields from the state, apply an update to them (excluding services) and return a new plain object.
NOTE: if looking something more sophisticated try InMemoryState representation.
InMemoryState
A rather test-only function to copy some fields from the state, apply an update to them (excluding services) and return a new plain object.
NOTE: if looking something more sophisticated try
InMemoryStaterepresentation.