Add RP_ENABLED and enabled configuration possibility and fix documentation#114
Conversation
|
Hello @Jonathan-Carvalheiro ! |
Yes this ais n extra setting to disable the RP. It will be on until you define on the jest config the enabled=false or by environment variable RP_ENABLED=false. |
AmsterGet
left a comment
There was a problem hiding this comment.
Please also rebase under the latest develop to apply code style checks.
| constructor(globalConfig, options) { | ||
| const agentInfo = getAgentInfo(); | ||
| this.reportOptions = getClientInitObject(getOptions.options(options)); | ||
| if(this.reportOptions.enabled ==='false') return {invalid:true}; |
There was a problem hiding this comment.
Could you explain this line?
What is "invalid: true" here, does it have some specification?
Possibility to disable the agent with enabled configuration or RP_ENABLED environment variable