|
|
|
@ -12,7 +12,9 @@ module.exports = function(config) {
|
|
|
|
|
frameworks: ["jasmine", "karma-typescript"], |
|
|
|
|
|
|
|
|
|
// list of files / patterns to load in the browser
|
|
|
|
|
files: [ "src/vCarousel.ts", "tests/*.ts" ], |
|
|
|
|
files: [ "src/vCarousel.ts", "tests/*.ts", { pattern: 'public/videos/*', watched: true, included: false, served: true } ], |
|
|
|
|
|
|
|
|
|
proxies: { "/videos/": "http://localhost:9876/base/public/videos/" }, |
|
|
|
|
|
|
|
|
|
// list of files / patterns to exclude
|
|
|
|
|
exclude: [ |
|
|
|
@ -45,7 +47,7 @@ module.exports = function(config) {
|
|
|
|
|
|
|
|
|
|
// start these browsers
|
|
|
|
|
// available browser launchers: https://npmjs.org/browse/keyword/karma-launcher
|
|
|
|
|
browsers: ['Firefox', 'Chromium'], |
|
|
|
|
browsers: ['FirefoxHeadless', 'ChromiumHeadless'], |
|
|
|
|
|
|
|
|
|
// Continuous Integration mode
|
|
|
|
|
// if true, Karma captures browsers, runs the tests and exits
|
|
|
|
|