Skip to content

Commit 097e448

Browse files
committed
Update Saucelabs Connect and printout test failure
1 parent fa7d218 commit 097e448

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

scripts/saucelabs/start-tunnel.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
set -e -o pipefail
44

5-
TUNNEL_FILE="sc-4.4.10-linux.tar.gz"
5+
TUNNEL_FILE="sc-4.4.12-linux.tar.gz"
66
TUNNEL_URL="https://saucelabs.com/downloads/${TUNNEL_FILE}"
77
TUNNEL_DIR="/tmp/saucelabs-connect"
88

test/karma.conf.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ module.exports = (config) => {
5151
'dist/packages/**/*.js': ['sourcemap']
5252
},
5353

54-
reporters: ['dots'],
54+
reporters: ['dots', 'spec'],
5555
autoWatch: false,
5656

5757
coverageReporter: {
@@ -60,10 +60,12 @@ module.exports = (config) => {
6060
subdir: '.'
6161
},
6262

63-
// TODO(josephperrott): Determine how to properly disable extra output on ci.
63+
// Configuration for the advanced karma spec reporter. By default we only want to use that
64+
// reporter to display the test that failed. To do this, we have to suppress tests that pass.
6465
specReporter: {
6566
maxLogLines: Infinity, // Log out the entire stack trace on errors and failures.
6667
suppressSkipped: true,
68+
suppressPassed: true,
6769
showSpecTiming: true,
6870
},
6971

@@ -90,8 +92,8 @@ module.exports = (config) => {
9092
browserDisconnectTolerance: 3,
9193
browserNoActivityTimeout: 300000,
9294
captureTimeout: 180000,
93-
browsers: ['ChromeHeadlessLocal'],
9495

96+
browsers: ['ChromeHeadlessLocal'],
9597
singleRun: false,
9698

9799
browserConsoleLogOptions: {
@@ -115,8 +117,6 @@ module.exports = (config) => {
115117

116118
config.preprocessors['dist/packages/**/!(*+(.|-)spec).js'] = ['coverage'];
117119
config.reporters.push('coverage');
118-
// Hide passed tests from logs while on travis.
119-
config.specReporter.suppressPassed = true;
120120
}
121121

122122
// The MODE variable is the indicator of what row in the test matrix we're running.

0 commit comments

Comments
 (0)