File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 ;
Original file line number Diff line number Diff 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 = "" ;
You can’t perform that action at this time.
0 commit comments