const { jsdom } = require('jsdom');


// JSDom setup
global.document = jsdom('');
global.window = document.defaultView;

Object.keys(document.defaultView).forEach((prop) => {
  if (typeof global[prop] === 'undefined') {
    global[prop] = document.defaultView[prop];
  }
});

global.navigator = {
  userAgent: 'node.js'
};

@@ -1,8 +1,71 @@
+require('babel-core/register')(%7B%0A  ignore: /node_modules/,%0A%7D);%0A
 const %7B 
@@ -93,17 +93,16 @@
 dom');%0A%0A
-%0A
 // JSDom
@@ -374,12 +374,114 @@
 node.js'
+,%0A%7D;%0A%0Amodule.exports = %7B%0A  singleLine(params) %7B%0A    return params%5B0%5D.trim().replace(/%5Cn */g, '');%0A  %7D,
 %0A%7D;%0A

Add helper function to test-helper [skip ci]