Skip to content
Prev Previous commit
Next Next commit
tests: mocha reporter and include ts files (#1875)
  • Loading branch information
Alexander Vakrilov authored and Vladimir Amiorkov committed Jun 27, 2019
commit 1f568554dc719b6034528da5cd82e5ee54cc00f3
7 changes: 3 additions & 4 deletions tests/karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,9 @@ module.exports = function (config) {


// list of files / patterns to load in the browser
// TODO: changing this to .ts files causes the test to become lest from 126 to 106. ~20 tests are cutoff by something. Needs a future research
files: [
'app/tests/test-main.js',
'app/**/*.js'
'app/tests/test-main.ts',
'app/**/*.ts'
],

// list of files to exclude
Expand All @@ -34,7 +33,7 @@ module.exports = function (config) {
// test results reporter to use
// possible values: 'dots', 'progress'
// available reporters: https://npmjs.org/browse/keyword/karma-reporter
reporters: ['progress'],
reporters: ['mocha'],


// web server port
Expand Down