A utility for choking the javascript console. Any suppressed output can be printed when restoring the console.
npm install --save console-choker
import consoleChoker from 'console-choker';
consoleChoker.start();
// actions triggering console output
consoleChoker.flush();