Function withAgentReporter

Returns the reporters with the console ones replaced by the agent reporter

string[] withAgentReporter(
  string[] reporters
);

Example

withAgentReporter returns ["stats", "xunit", "agent"] for ["spec", "result", "stats", "xunit"]

["spec", "result", "stats", "xunit"].withAgentReporter.should.equal(["stats", "xunit", "agent"]);