Skip to content

Commit

Permalink
jshint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
amasad committed Oct 8, 2015
1 parent 7d07be7 commit 5cad189
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions src/TestRunner.js
Original file line number Diff line number Diff line change
Expand Up @@ -313,8 +313,8 @@ class TestRunner {
*/
runTest(testFilePath) {
// Shallow copying lets us adjust the config object locally without
// worrying about the external consequences of changing the config object for
// needs that are local to this particular function call
// worrying about the external consequences of changing the config object
// for needs that are local to this particular function call
var config = assign({}, this._config);
var configDeps = this._loadConfigDependencies();

Expand All @@ -334,9 +334,10 @@ class TestRunner {
env.dispose();
};

return this._constructModuleLoader(env, config).then(function(moduleLoader) {
return this._constructModuleLoader(env, config).then(moduleLoader => {
// This is a kind of janky way to ensure that we only collect coverage
// information on modules that are immediate dependencies of the test file.
// information on modules that are immediate dependencies of the
// test file.
//
// Collecting coverage info on more than that is often not useful as
// *usually*, when one is looking for coverage info, one is only looking
Expand Down Expand Up @@ -589,7 +590,7 @@ class TestRunner {
})
))).then(() => workerFarm.end(farm));
}
};
}

function _pathStreamToPromise(stream) {
return new Promise((resolve, reject) => {
Expand Down

0 comments on commit 5cad189

Please sign in to comment.