Skip to content
This repository has been archived by the owner on Dec 19, 2022. It is now read-only.

A way to disable some random console.log in the library #21

Open
hamza-amami opened this issue Mar 9, 2022 · 1 comment
Open

A way to disable some random console.log in the library #21

hamza-amami opened this issue Mar 9, 2022 · 1 comment

Comments

@hamza-amami
Copy link

hamza-amami commented Mar 9, 2022

Is there a way or an update so we can disable logging with allure in case we user CLI reporter with it ?
There are in the index.js :

if(bodyModeProp === "raw") { // bodyModePropObj = this.escape(rItem.pm_item.request_data.body[bodyModeProp]); bodyModePropObj = rItem.pm_item.request_data.body[bodyModeProp]; --here--console.log(bodyModePropObj); }

start(err, args) { const suiteName = this.options.collection.name; --here--console.log( ####Starting Execution For - ${suiteName} ); const scope = this.currentSuite || this.allure_runtime; const suite = scope.startGroup(suiteName || "Global"); this.pushSuite(suite); this.runningItems = []; }

done(err, args) { if (this.currentSuite !== null) { // if (this.currentStep !== null) { // this.currentStep.endStep(); // } this.currentSuite.endGroup(); this.popSuite(); } //console.log(#### Finished Execution ####); }

Thanks
@vovsemenv
Copy link
Contributor

Hello, this repo will be archived. New versions of the newman-reporter-allure will be maintained in the allure framework repo. https://github.com/allure-framework/allure-js

This issue is fixed in the [email protected]

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants