Skip to content

Commit afa8a07

Browse files
authored
Merge pull request #20760 from calixteman/avoid_noise
Just output in the console the results for the integrations which ran
2 parents 55c371d + 6b3331f commit afa8a07

2 files changed

Lines changed: 12 additions & 0 deletions

File tree

test/integration/jasmine-boot.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,9 @@ async function runTests(results) {
5353
jasmineStarted(suiteInfo) {},
5454
specDone(result) {
5555
// Report on the result of individual tests.
56+
if (result.status === "excluded") {
57+
return;
58+
}
5659
++results.runs;
5760
if (result.failedExpectations.length > 0) {
5861
++results.failures;
@@ -63,6 +66,9 @@ async function runTests(results) {
6366
},
6467
specStarted(result) {},
6568
suiteDone(result) {
69+
if (result.status === "excluded") {
70+
return;
71+
}
6672
// Report on the result of `afterAll` invocations.
6773
if (result.failedExpectations.length > 0) {
6874
++results.failures;

test/reporter.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,9 @@ const TestReporter = function (browser) {
6262
this.specStarted = function (result) {};
6363

6464
this.specDone = function (result) {
65+
if (result.status === "excluded") {
66+
return;
67+
}
6568
// Report on the result of individual tests.
6669
if (result.failedExpectations.length === 0) {
6770
sendResult("TEST-PASSED", result.description);
@@ -75,6 +78,9 @@ const TestReporter = function (browser) {
7578
};
7679

7780
this.suiteDone = function (result) {
81+
if (result.status === "excluded") {
82+
return;
83+
}
7884
// Report on the result of `afterAll` invocations.
7985
if (result.failedExpectations.length > 0) {
8086
let failedMessages = "";

0 commit comments

Comments
 (0)