Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add flag to force Node colors #713

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Commits on Jul 2, 2019

  1. Use console.log instead of console.debug

    In the browser, `console.debug` does not output anything by default. From MDN (https://developer.mozilla.org/en-US/docs/Web/API/Console):
    
    "Starting with Chromium 58 this method only appears in Chromium browser consoles when level "Verbose" is selected."
    artemave committed Jul 2, 2019
    Configuration menu
    Copy the full SHA
    f5afa63 View commit details
    Browse the repository at this point in the history
  2. Add flag to force Node colors

    So that process that runs in Electron renderer process can log to
    the terminal if it runs in a headless mode, but to the browser console
    if it runs with the browser window.
    
    Use case: run browser tests in electron-mocha renderer with or without
    browser window.
    artemave committed Jul 2, 2019
    Configuration menu
    Copy the full SHA
    e407309 View commit details
    Browse the repository at this point in the history