source: src/Clients/Angular/finki-chattery/karma.conf.js@ 8b6791f

dev
Last change on this file since 8b6791f was e6a6d9a, checked in by Стојков Марко <mst@…>, 3 years ago

Initialized FinkiChattery project

  • Property mode set to 100644
File size: 1.4 KB
RevLine 
[e6a6d9a]1// Karma configuration file, see link for more information
2// https://karma-runner.github.io/1.0/config/configuration-file.html
3
4module.exports = function (config) {
5 config.set({
6 basePath: '',
7 frameworks: ['jasmine', '@angular-devkit/build-angular'],
8 plugins: [
9 require('karma-jasmine'),
10 require('karma-chrome-launcher'),
11 require('karma-jasmine-html-reporter'),
12 require('karma-coverage'),
13 require('@angular-devkit/build-angular/plugins/karma')
14 ],
15 client: {
16 jasmine: {
17 // you can add configuration options for Jasmine here
18 // the possible options are listed at https://jasmine.github.io/api/edge/Configuration.html
19 // for example, you can disable the random execution with `random: false`
20 // or set a specific seed with `seed: 4321`
21 },
22 clearContext: false // leave Jasmine Spec Runner output visible in browser
23 },
24 jasmineHtmlReporter: {
25 suppressAll: true // removes the duplicated traces
26 },
27 coverageReporter: {
28 dir: require('path').join(__dirname, './coverage/finki-chattery'),
29 subdir: '.',
30 reporters: [{ type: 'html' }, { type: 'text-summary' }]
31 },
32 reporters: ['progress', 'kjhtml'],
33 port: 9876,
34 colors: true,
35 logLevel: config.LOG_INFO,
36 autoWatch: true,
37 browsers: ['Chrome'],
38 singleRun: false,
39 restartOnFileChange: true
40 });
41};
Note: See TracBrowser for help on using the repository browser.