Skip to content

Commit 49bf1aa

Browse files
committed
feat(cli): Add .config/karma.conf.js to the default lookup path
Add `.config/karma.config.js` and `.config/karma.config.coffee` to the default look-up path. Closes #1387
1 parent dd604d9 commit 49bf1aa

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

lib/cli.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,10 @@ var processArgs = function (argv, options, fs, path) {
9090
configFile = './karma.conf.js'
9191
} else if (fs.existsSync('./karma.conf.coffee')) {
9292
configFile = './karma.conf.coffee'
93+
} else if (fs.existsSync('./.config/karma.conf.js')) {
94+
configFile = './.config/karma.conf.js'
95+
} else if (fs.existsSync('./.config/karma.conf.coffee')) {
96+
configFile = './.config/karma.conf.coffee'
9397
}
9498
}
9599

0 commit comments

Comments
 (0)