code: function getEntryPoints(globPattern) {
      var testFiles = glob.sync(globPattern);
      var entryPoints = {};
      testFiles.forEach(function(file) {
          entryPoints[file.replace(/\.js$/, '')] = './' + file;
      });
      return entryPoints;
  }
docs: Given a glob pattern returns the matched paths as an entry point object for Webpack.
  @param  {String} globPattern A glob pattern to match tests.
  @return {Object}             Key value pairs, keyed on filepath.