From 282f85922ead5b80d6eea08779e040a895aa9211 Mon Sep 17 00:00:00 2001 From: vakrilov Date: Wed, 26 Jun 2019 11:43:33 +0300 Subject: [PATCH] tests: mocha reporter and include ts files --- tests/karma.conf.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/tests/karma.conf.js b/tests/karma.conf.js index cfac187c6..e6f77fdbc 100644 --- a/tests/karma.conf.js +++ b/tests/karma.conf.js @@ -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 @@ -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