Current Dev State

This commit is contained in:
Tim Lorsbach
2025-06-23 20:13:54 +02:00
parent b4f9bb277d
commit ded50edaa2
22617 changed files with 4345095 additions and 174 deletions

View File

@ -0,0 +1,22 @@
// minimal mock of mocha's Suite class for formatters
module.exports = Suite
function Suite (parent) {
if (!parent.parent || !parent.parent.emittedSuite)
this.root = true
else
this.root = false
this.title = parent.name || ''
this.suites = []
this.tests = []
this.ok = true
}
Suite.prototype.fullTitle = function () {
if (!this.parent)
return (this.title || '').trim()
else
return (this.parent.fullTitle() + ' ' + (this.title || '')).trim()
}