Ajout du chargement de fichiers .csv utiles aux tests.
This commit is contained in:
parent
0feb525725
commit
475a7c97d7
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user