MCPcopy Index your code
hub / github.com/codeceptjs/CodeceptJS / simplify

Method simplify

lib/mocha/hooks.js:35–43  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

33 }
34
35 simplify() {
36 return {
37 hookName: this.hookName,
38 title: this.title,
39 // test: this.test ? serializeTest(this.test) : null,
40 // suite: this.suite ? serializeSuite(this.suite) : null,
41 error: this.err ? serializeError(this.err) : null,
42 }
43 }
44
45 toString() {
46 return this.hookName

Callers

nothing calls this directly

Calls 1

serializeErrorFunction · 0.90

Tested by

no test coverage detected