Skip to content

Commit

Permalink
feat(cli): Add .config/karma.conf.js to the default lookup path
Browse files Browse the repository at this point in the history
Add `.config/karma.config.js` and `.config/karma.config.coffee` to the default
look-up path.

Closes #1387
  • Loading branch information
budde377 committed Jan 4, 2016
1 parent dd604d9 commit 49bf1aa
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,10 @@ var processArgs = function (argv, options, fs, path) {
configFile = './karma.conf.js'
} else if (fs.existsSync('./karma.conf.coffee')) {
configFile = './karma.conf.coffee'
} else if (fs.existsSync('./.config/karma.conf.js')) {
configFile = './.config/karma.conf.js'
} else if (fs.existsSync('./.config/karma.conf.coffee')) {
configFile = './.config/karma.conf.coffee'
}
}

Expand Down

0 comments on commit 49bf1aa

Please sign in to comment.