Skip to content

Commit

Permalink
Don't log debug URLs for tests that are skipped
Browse files Browse the repository at this point in the history
Via `pending()`
  • Loading branch information
SLaks committed Apr 17, 2024
1 parent 057bf01 commit eb59cc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ initJasmine.$inject = ['config.files']
function InjectKarmaJasmineReporter (singleRun) {
return {
onSpecComplete (browser, karmaResult) {
if (!singleRun && karmaResult.debug_url) {
if (!singleRun && !karmaResult.skipped && karmaResult.debug_url) {
console.log('Debug this test: ' + karmaResult.debug_url)
}
}
Expand Down

0 comments on commit eb59cc5

Please sign in to comment.