Browse code

Refactor and rewrite as contao bundle

Benjamin Roth authored on04/11/2022 22:32:32
Showing1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,26 @@
1
+// Karma configuration file, see link for more information
2
+// https://karma-runner.github.io/1.0/config/configuration-file.html
3
+module.exports = function (config) {
4
+  config.set({
5
+    basePath: '',
6
+    frameworks: ['jasmine', '@angular-devkit/build-angular'],
7
+    plugins: [require('karma-jasmine'), require('karma-chrome-launcher'), require('karma-jasmine-html-reporter'), require('karma-coverage-istanbul-reporter'), require('@angular-devkit/build-angular/plugins/karma')],
8
+    client: {
9
+      clearContext: false // leave Jasmine Spec Runner output visible in browser
10
+
11
+    },
12
+    coverageIstanbulReporter: {
13
+      dir: require('path').join(__dirname, '../../coverage/angular'),
14
+      reports: ['html', 'lcovonly', 'text-summary'],
15
+      fixWebpackSourcePaths: true
16
+    },
17
+    reporters: ['progress', 'kjhtml'],
18
+    port: 9876,
19
+    colors: true,
20
+    logLevel: config.LOG_INFO,
21
+    autoWatch: true,
22
+    browsers: ['Chrome'],
23
+    singleRun: false,
24
+    restartOnFileChange: true
25
+  });
26
+};
0 27
\ No newline at end of file