mirror of
https://github.com/mozilla/pdf.js.git
synced 2026-04-09 23:04:02 +02:00
Just output in the console the results for the integrations which ran
This commit is contained in:
parent
5279646985
commit
6b3331f47b
@ -53,6 +53,9 @@ async function runTests(results) {
|
||||
jasmineStarted(suiteInfo) {},
|
||||
specDone(result) {
|
||||
// Report on the result of individual tests.
|
||||
if (result.status === "excluded") {
|
||||
return;
|
||||
}
|
||||
++results.runs;
|
||||
if (result.failedExpectations.length > 0) {
|
||||
++results.failures;
|
||||
@ -63,6 +66,9 @@ async function runTests(results) {
|
||||
},
|
||||
specStarted(result) {},
|
||||
suiteDone(result) {
|
||||
if (result.status === "excluded") {
|
||||
return;
|
||||
}
|
||||
// Report on the result of `afterAll` invocations.
|
||||
if (result.failedExpectations.length > 0) {
|
||||
++results.failures;
|
||||
|
||||
@ -62,6 +62,9 @@ const TestReporter = function (browser) {
|
||||
this.specStarted = function (result) {};
|
||||
|
||||
this.specDone = function (result) {
|
||||
if (result.status === "excluded") {
|
||||
return;
|
||||
}
|
||||
// Report on the result of individual tests.
|
||||
if (result.failedExpectations.length === 0) {
|
||||
sendResult("TEST-PASSED", result.description);
|
||||
@ -75,6 +78,9 @@ const TestReporter = function (browser) {
|
||||
};
|
||||
|
||||
this.suiteDone = function (result) {
|
||||
if (result.status === "excluded") {
|
||||
return;
|
||||
}
|
||||
// Report on the result of `afterAll` invocations.
|
||||
if (result.failedExpectations.length > 0) {
|
||||
let failedMessages = "";
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user