Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nasa/openmct.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikhil <nikhil.k.mandlik@nasa.gov>2021-10-22 02:55:34 +0300
committerGitHub <noreply@github.com>2021-10-22 02:55:34 +0300
commit4f8cba160d4fbbca2ed06352a9e47dcf6b00f7ab (patch)
tree7785c5a3d2bb74707fbe030b29b51184ff96bec5 /karma.conf.js
parentc269e089dad144f5be95293888025a99220edd04 (diff)
Router test fix (#3973)
* removed DEPRECATION warnings * test fixes * added spec reporter to debug failing tests and fixed couple specs * disabled failFast to see all failing tests * disabled fail test and change timeoutInterval to 5000 * removed unused debounce import Co-authored-by: Andrew Henry <akhenry@gmail.com>
Diffstat (limited to 'karma.conf.js')
-rw-r--r--karma.conf.js18
1 files changed, 11 insertions, 7 deletions
diff --git a/karma.conf.js b/karma.conf.js
index 25c17e7ad..420c85236 100644
--- a/karma.conf.js
+++ b/karma.conf.js
@@ -25,7 +25,7 @@
const devMode = process.env.NODE_ENV !== 'production';
const browsers = [process.env.NODE_ENV === 'debug' ? 'ChromeDebugging' : 'ChromeHeadless'];
const coverageEnabled = process.env.COVERAGE === 'true';
-const reporters = ['progress', 'html', 'junit'];
+const reporters = ['spec', 'html', 'junit'];
if (coverageEnabled) {
reporters.push('coverage-istanbul');
@@ -60,7 +60,7 @@ module.exports = (config) => {
client: {
jasmine: {
random: false,
- timeoutInterval: 30000
+ timeoutInterval: 5000
}
},
customLaunchers: {
@@ -88,11 +88,6 @@ module.exports = (config) => {
outputFile: "test-results.xml",
useBrowserName: false
},
- browserConsoleLogOptions: {
- level: "error",
- format: "%b %T: %m",
- terminal: true
- },
coverageIstanbulReporter: {
fixWebpackSourcePaths: true,
dir: process.env.CIRCLE_ARTIFACTS
@@ -105,6 +100,15 @@ module.exports = (config) => {
}
}
},
+ specReporter: {
+ maxLogLines: 5,
+ suppressErrorSummary: true,
+ suppressFailed: false,
+ suppressPassed: false,
+ suppressSkipped: true,
+ showSpecTiming: true,
+ failFast: false
+ },
preprocessors: {
'indexTest.js': ['webpack', 'sourcemap']
},