karma.conf.js revision 6da6692846ac189aa8a6b1b897fb03f6d7bf34ae
01f87b9746ac246340e0e98d25e03193d83b071fJoe Bandenburg // base path that will be used to resolve all patterns (eg. files, exclude)
01f87b9746ac246340e0e98d25e03193d83b071fJoe Bandenburg // frameworks to use
01f87b9746ac246340e0e98d25e03193d83b071fJoe Bandenburg // available frameworks: https://npmjs.org/browse/keyword/karma-adapter
01f87b9746ac246340e0e98d25e03193d83b071fJoe Bandenburg // list of files / patterns to load in the browser
01f87b9746ac246340e0e98d25e03193d83b071fJoe Bandenburg { pattern: "target/test-classes/test-main.js" },
01f87b9746ac246340e0e98d25e03193d83b071fJoe Bandenburg { pattern: "target/test-classes/org/**/*.js", included: false },
01f87b9746ac246340e0e98d25e03193d83b071fJoe Bandenburg { pattern: "target/compiled/org/**/*.js", included: false },
01f87b9746ac246340e0e98d25e03193d83b071fJoe Bandenburg { pattern: "target/compiled/config/**/*.js", included: false },
01f87b9746ac246340e0e98d25e03193d83b071fJoe Bandenburg { pattern: "target/dependencies/libs/**/*.js", included: false },
01f87b9746ac246340e0e98d25e03193d83b071fJoe Bandenburg { pattern: "target/test-classes/**/*.js", included: false },
01f87b9746ac246340e0e98d25e03193d83b071fJoe Bandenburg { pattern: "node_modules/chai/chai.js", included: false },
01f87b9746ac246340e0e98d25e03193d83b071fJoe Bandenburg { pattern: "node_modules/sinon-chai/lib/sinon-chai.js", included: false }
01f87b9746ac246340e0e98d25e03193d83b071fJoe Bandenburg // list of files to exclude
01f87b9746ac246340e0e98d25e03193d83b071fJoe Bandenburg // preprocess matching files before serving them to the browser
01f87b9746ac246340e0e98d25e03193d83b071fJoe Bandenburg // available preprocessors: https://npmjs.org/browse/keyword/karma-preprocessor
01f87b9746ac246340e0e98d25e03193d83b071fJoe Bandenburg // test results reporter to use
01f87b9746ac246340e0e98d25e03193d83b071fJoe Bandenburg // possible values: "dots", "progress"
01f87b9746ac246340e0e98d25e03193d83b071fJoe Bandenburg // available reporters: https://npmjs.org/browse/keyword/karma-reporter
01f87b9746ac246340e0e98d25e03193d83b071fJoe Bandenburg // web server port
01f87b9746ac246340e0e98d25e03193d83b071fJoe Bandenburg // enable / disable colors in the output (reporters and logs)
01f87b9746ac246340e0e98d25e03193d83b071fJoe Bandenburg // level of logging
01f87b9746ac246340e0e98d25e03193d83b071fJoe Bandenburg // possible values: config.LOG_DISABLE, config.LOG_ERROR, config.LOG_WARN, config.LOG_INFO, config.LOG_DEBUG
01f87b9746ac246340e0e98d25e03193d83b071fJoe Bandenburg // enable / disable watching file and executing tests whenever any file changes
01f87b9746ac246340e0e98d25e03193d83b071fJoe Bandenburg // start these browsers
01f87b9746ac246340e0e98d25e03193d83b071fJoe Bandenburg // available browser launchers: https://npmjs.org/browse/keyword/karma-launcher
01f87b9746ac246340e0e98d25e03193d83b071fJoe Bandenburg // Continuous Integration mode
01f87b9746ac246340e0e98d25e03193d83b071fJoe Bandenburg // if true, Karma captures browsers, runs the tests and exits