Skip to content

Commit

Permalink
doc(config): Document default configuration files
Browse files Browse the repository at this point in the history
Update the documentation to contain the default configuration files:
`./karma.conf.js`, `./karma.conf.coffee`, `./.config/karma.conf.js` and
`./.config/karma.conf.js`
  • Loading branch information
budde377 committed Jan 4, 2016
1 parent 49bf1aa commit ba89e0e
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docs/config/01-configuration-file.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,16 @@ Note: Most of the framework adapters, reporters, preprocessors and launchers nee


The Karma configuration file can be written in JavaScript or CoffeeScript and is loaded as a regular Node.js module.

Unless provided as argument, the Karma CLI will look for a configuration file at

* `./karma.conf.js`
* `./karma.conf.coffee`
* `./.config/karma.conf.js`
* `./.config/karma.conf.coffee`

in that order.

Within the configuration file, the configuration code is put together by setting `module.exports` to point to a function
which accepts one argument: the configuration object.

Expand Down

0 comments on commit ba89e0e

Please sign in to comment.