From bab99a96dd8f386a5cfff227483bfb9ec3447f2a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabrice=20PENHO=C3=8BT?= Date: Wed, 4 Aug 2021 16:20:14 +0200 Subject: [PATCH] =?UTF-8?q?Modification=20configuration=20karma.js=20pour?= =?UTF-8?q?=20fermer=20les=20navigateurs=20une=20fois=20les=20tests=20term?= =?UTF-8?q?in=C3=A9s?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- karma.conf.js | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/karma.conf.js b/karma.conf.js index 2e374fd..8113af7 100644 --- a/karma.conf.js +++ b/karma.conf.js @@ -7,21 +7,17 @@ module.exports = function(config) { // base path that will be used to resolve all patterns (eg. files, exclude) basePath: '', - // frameworks to use // available frameworks: https://npmjs.org/browse/keyword/karma-adapter frameworks: ["jasmine", "karma-typescript"], - // list of files / patterns to load in the browser files: [ "src/vCarousel.ts", "tests/*.ts" ], - // list of files / patterns to exclude exclude: [ ], - // preprocess matching files before serving them to the browser // available preprocessors: https://npmjs.org/browse/keyword/karma-preprocessor preprocessors: { @@ -34,32 +30,26 @@ module.exports = function(config) { // available reporters: https://npmjs.org/browse/keyword/karma-reporter reporters: ['dots', "karma-typescript"], - // web server port port: 9876, - // enable / disable colors in the output (reporters and logs) colors: true, - // level of logging // possible values: config.LOG_DISABLE || config.LOG_ERROR || config.LOG_WARN || config.LOG_INFO || config.LOG_DEBUG logLevel: config.LOG_INFO, - // enable / disable watching file and executing tests whenever any file changes autoWatch: true, - // start these browsers // available browser launchers: https://npmjs.org/browse/keyword/karma-launcher browsers: ['Firefox', 'Chromium'], - // Continuous Integration mode // if true, Karma captures browsers, runs the tests and exits - singleRun: false, + singleRun: true, // Concurrency level // how many browser should be started simultaneous