1 module.exports = function ( karma ) {
4 * From where to look for files, starting with the location of this file.
9 * This is the list of file patterns to load into the browser during testing.
13 {pattern: 'vendor/**/*.js', included: false},
14 {pattern: 'src/**/*.js', included: false},
15 {pattern: 'src/**/*.js', included: false}
20 frameworks: [ 'jasmine', 'requirejs' ],
21 plugins: [ 'karma-jasmine', 'karma-coverage', 'karma-requirejs', 'karma-firefox-launcher', 'karma-chrome-launcher', 'karma-phantomjs-launcher', 'karma-coffee-preprocessor' ],
24 '**/*.coffee': 'coffee',
28 * How to report, by default.
33 * On which port should the browser connect, on which port is the test runner
34 * operating, and what is the URL path for the browser to use.
41 * Disable file watching by default.
46 * The list of browsers to launch to test on. This includes only "Firefox" by
47 * default, but other browser names include:
48 * Chrome, ChromeCanary, Firefox, Opera, Safari, PhantomJS
50 * Note that you can also use the executable name of the browser, like "chromium"
51 * or "firefox", but that these vary based on your operating system.
53 * You may also leave this blank and manually navigate your browser to
54 * http://localhost:9018/ when you're running tests. The window/tab can be left
55 * open and the tests will automatically occur there during the build. This has
56 * the aesthetic advantage of not launching a browser every time you save.