Skip to content

Commit 1f56855

Browse files
Alexander VakrilovVladimir Amiorkov
Alexander Vakrilov
authored and
Vladimir Amiorkov
committed
tests: mocha reporter and include ts files (#1875)
1 parent ab740cd commit 1f56855

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

Diff for: tests/karma.conf.js

+3-4
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,9 @@ module.exports = function (config) {
1414

1515

1616
// list of files / patterns to load in the browser
17-
// 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
1817
files: [
19-
'app/tests/test-main.js',
20-
'app/**/*.js'
18+
'app/tests/test-main.ts',
19+
'app/**/*.ts'
2120
],
2221

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

3938

4039
// web server port

0 commit comments

Comments
 (0)