[gjs: 3/4] minijasmine: Also Include 'excluded' tests to skipped ones
- From: Philip Chimento <pchimento src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gjs: 3/4] minijasmine: Also Include 'excluded' tests to skipped ones
- Date: Tue, 5 Jul 2022 03:50:00 +0000 (UTC)
commit a228ac2476505af6715fd1163c47653d37efc70e
Author: Marco Trevisan (TreviƱo) <mail 3v1n0 net>
Date: Wed Jun 15 13:57:18 2022 +0200
minijasmine: Also Include 'excluded' tests to skipped ones
When excluding tests using 'fit' we mark non-running tests as 'OK',
while that's not a correct statement.
installed-tests/js/minijasmine.js | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/installed-tests/js/minijasmine.js b/installed-tests/js/minijasmine.js
index 09a099ae8..076958f81 100644
--- a/installed-tests/js/minijasmine.js
+++ b/installed-tests/js/minijasmine.js
@@ -74,7 +74,8 @@ class TapReporter {
tapReport = 'ok';
}
tapReport += ` ${this._specCount} ${result.fullName}`;
- if (result.status === 'pending' || result.status === 'disabled') {
+ if (result.status === 'pending' || result.status === 'disabled' ||
+ result.status === 'excluded') {
let reason = result.pendingReason || result.status;
tapReport += ` # SKIP ${reason}`;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]