Skip to content

Commit 4fc4cdd

Browse files
committed
Ensure suite specs isnt undefined. (Fixes #64)
1 parent c252f7c commit 4fc4cdd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: lib/guard/jasmine/phantomjs/lib/reporter.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: lib/guard/jasmine/phantomjs/src/reporter.coffee

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ class ConsoleReporter
5656
parent: suite.parentSuite?.id
5757
description: suite.description
5858
passed: suite.results().failedCount is 0
59-
specs: @currentSpecs[suite.id]
59+
specs: @currentSpecs[suite.id] || []
6060
suites: []
6161
}
6262

0 commit comments

Comments
 (0)