LinkedInAttic / sepia

Sepia is a VCR-like module for node.js that records HTTP interactions, then plays them back exactly like the first time they were invoked
Apache License 2.0
279 stars 32 forks source link

Allow to programmatically configure mode #16

Open mrackwitz opened 8 years ago

mrackwitz commented 8 years ago

It would be nice if I could require sepia in my unit tests and use custom logic to configure the mode, e.g. playback by default and record only when I overwrite it from an environment variable, without having to write to the environment variables.