Skip to content

Commit

Permalink
fixup! fixup! fixup! Extract runWatch into separate module
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Scholtes committed May 24, 2019
1 parent 595b275 commit 6f69d01
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/cli/watch-run.js
Expand Up @@ -15,10 +15,10 @@ const Mocha = require('../mocha');
* Run Mocha in "watch" mode
* @param {Mocha} mocha - Mocha instance
* @param {Object} opts - Options
* @param {string[]} [opts.extension] - List of extensions to watch
* @param {string|RegExp} [opts.grep] - Grep for test titles
* @param {string} [opts.ui] - User interface
* @param {string[]} [opts.files] - Array of test files
* @param {string[]} opts.extension - List of extensions to watch
* @param {string|RegExp} opts.grep - Grep for test titles
* @param {string} opts.ui - User interface
* @param {string[]} opts.files - Array of test files
* @private
*/
module.exports = (mocha, {extension, grep, ui, files}) => {
Expand Down

0 comments on commit 6f69d01

Please sign in to comment.