Fix 'Could not parse CSS stylesheet' warning errors in mocha react tests

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Tech debt
    • None
    • Environment:
      OS:
      node.js / npm versions:
      Additional info:
    • 3
    • None
    • None
    • Developer Tools

      Repro: Run `npm test` in `compass-aggregations`.
      Observe the first lines in the output contain:
      Error: Could not parse CSS stylesheet
          at exports.createStylesheet (/Users/rhys/mongodb/compass/node_modules/jsdom/lib/jsdom/living/helpers/stylesheets.js:37:21)
          at HTMLStyleElementImpl._updateAStyleBlock (/Users/rhys/mongodb/compass/node_modules/jsdom/lib/jsdom/living/nodes/HTMLStyleElement-impl.js:68:5)
      ...

      These are pretty noisy.
      Also happens in compass-query-bar, maybe others. This ticket involves fixing or silencing those errors.

            Assignee:
            Unassigned
            Reporter:
            Rhys Howell
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: