Added some documentation to Karma configuration files.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
// Karma config for cms suite.
|
||||
// Docs in common/static/common/js/karma.common.conf.js
|
||||
// Docs and troubleshooting tips in common/static/common/js/karma.common.conf.js
|
||||
|
||||
/* jshint node: true */
|
||||
/*jshint -W079 */
|
||||
@@ -13,6 +13,8 @@ var options = {
|
||||
|
||||
libraryFiles: [],
|
||||
|
||||
// Make sure the patterns in sourceFiles and specFiles do not match the same file.
|
||||
// Otherwise Istanbul which is used for coverage tracking will cause tests to not run.
|
||||
sourceFiles: [
|
||||
{pattern: 'coffee/src/**/!(*spec).js'},
|
||||
{pattern: 'js/**/!(*spec|djangojs).js'}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// Karma config for cms-squire suite.
|
||||
// Docs in common/static/common/js/karma.common.conf.js
|
||||
// Docs and troubleshooting tips in common/static/common/js/karma.common.conf.js
|
||||
|
||||
/* jshint node: true */
|
||||
/*jshint -W079 */
|
||||
@@ -13,6 +13,8 @@ var options = {
|
||||
|
||||
libraryFiles: [],
|
||||
|
||||
// Make sure the patterns in sourceFiles and specFiles do not match the same file.
|
||||
// Otherwise Istanbul which is used for coverage tracking will cause tests to not run.
|
||||
sourceFiles: [
|
||||
{pattern: 'coffee/src/**/!(*spec).js'},
|
||||
{pattern: 'js/**/!(*spec|djangojs).js'}
|
||||
|
||||
Reference in New Issue
Block a user