diff --git a/karma.conf.js b/karma.conf.js index 1b32628..d0e0317 100644 --- a/karma.conf.js +++ b/karma.conf.js @@ -12,8 +12,10 @@ module.exports = function(config) { frameworks: ["jasmine", "karma-typescript"], // list of files / patterns to load in the browser - files: [ "src/freeCSV2HTML.ts", "tests/*.ts" ], + files: [ "src/freeCSV2HTML.ts", "tests/*.ts" , { pattern: 'tests/datas/*.csv', watched: true, included: false, served: true } ], + proxies: { "/datas/": "http://localhost:9876/base/tests/datas/" }, + // list of files / patterns to exclude exclude: [ ], @@ -45,7 +47,8 @@ module.exports = function(config) { // start these browsers // available browser launchers: https://www.npmjs.com/search?q=keywords:karma-launcher - browsers: ['Firefox', 'Chromium'], + browsers: ['Firefox'], + //browsers: ['Firefox', 'Chromium'], // Continuous Integration mode // if true, Karma captures browsers, runs the tests and exits