replayio / node

Integration of the node.js runtime with the record/replay driver
https://nodejs.org/
Other
20 stars 3 forks source link

Add RECORD_REPLAY_DONT_RECORD env var #68

Closed bhackett1024 closed 2 years ago

bhackett1024 commented 2 years ago

For https://github.com/RecordReplay/backend/issues/5329. We have a way to disable recording by setting the RECORD_REPLAY_DRIVER env var to an invalid value, but it would be clearer if we used a dedicated environment variable for this. This PR also fixes a crash we were hitting when not recording.