fix: Keep track of the passed and failed counts

This commit is contained in:
Jeremy Wall 2024-04-02 19:43:57 -04:00
parent f84a7c1bcc
commit 1f6f7f8d16

View File

@ -142,6 +142,7 @@ class Tap {
* @param {string} description
*/
pass(description) {
this.passed++;
this.mk_tap('ok', description);
};
@ -149,6 +150,7 @@ class Tap {
* @param {string} description
*/
fail(description) {
this.failed++;
this.mk_tap('not ok', description);
};