Ajout du chargement de fichiers .csv utiles aux tests.

This commit is contained in:
Fabrice PENHOËT 2021-08-10 15:51:51 +02:00
parent 0feb525725
commit 475a7c97d7

View File

@ -12,7 +12,9 @@ module.exports = function(config) {
frameworks: ["jasmine", "karma-typescript"], frameworks: ["jasmine", "karma-typescript"],
// list of files / patterns to load in the browser // 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 // list of files / patterns to exclude
exclude: [ exclude: [
@ -45,7 +47,8 @@ module.exports = function(config) {
// start these browsers // start these browsers
// available browser launchers: https://www.npmjs.com/search?q=keywords:karma-launcher // available browser launchers: https://www.npmjs.com/search?q=keywords:karma-launcher
browsers: ['Firefox', 'Chromium'], browsers: ['Firefox'],
//browsers: ['Firefox', 'Chromium'],
// Continuous Integration mode // Continuous Integration mode
// if true, Karma captures browsers, runs the tests and exits // if true, Karma captures browsers, runs the tests and exits