Skip to content

Commit b153355

Browse files
stefan-becking-webcomJonathan Ginsburg
authored and
Jonathan Ginsburg
committedNov 11, 2021
style: fix grammar error in browser capture log message
Fixes a grammar error in the log message when a browser does not capture in time. Fixes #3716
1 parent 8f798d5 commit b153355

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed
 

‎docs/config/01-configuration-file.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -853,11 +853,11 @@ When running a browser in different environments, it can take different amounts
853853
client socket to connect. If Karma cannot connect within the default timeout, you may see an
854854
error similar to the following:
855855
```
856-
ChromeHeadless have not captured in 60000ms, killing.
856+
ChromeHeadless has not captured in 60000ms, killing.
857857
Trying to start ChromeHeadless again (1/2).
858-
ChromeHeadless have not captured in 60000ms, killing.
858+
ChromeHeadless has not captured in 60000ms, killing.
859859
Trying to start ChromeHeadless again (2/2).
860-
ChromeHeadless have not captured in 60000ms, killing.
860+
ChromeHeadless has not captured in 60000ms, killing.
861861
ChromeHeadless failed 2 times(timeout). Giving up.
862862
```
863863
If you see this error, you can try increasing the socket connection timeout.

‎lib/launchers/capture_timeout.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ function CaptureTimeoutLauncher (timer, captureTimeout) {
1717
return
1818
}
1919

20-
log.warn(`${this.name} have not captured in ${captureTimeout} ms, killing.`)
20+
log.warn(`${this.name} has not captured in ${captureTimeout} ms, killing.`)
2121
this.error = 'timeout'
2222
this.kill()
2323
}, captureTimeout)

‎test/e2e/timeout.feature

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@ Feature: Timeout
1717
When I start Karma
1818
Then it fails with like:
1919
"""
20-
have not captured in 100 ms
20+
has not captured in 100 ms
2121
"""

0 commit comments

Comments
 (0)
Please sign in to comment.