* Factory function to create enhanced tests * @param {string} title - Test title * @param {Function} fn - Test function * @returns {CodeceptJS.Test & Mocha.Test} New enhanced test instance
(title, fn)
| 11 | * @returns {CodeceptJS.Test & Mocha.Test} New enhanced test instance |
| 12 | */ |
| 13 | function createTest(title, fn) { |
| 14 | const test = new Test(title, fn) |
| 15 | return enhanceMochaTest(test) |
| 16 | } |
| 17 | |
| 18 | /** |
| 19 | * Enhances Mocha Test with CodeceptJS specific functionality using composition |
no test coverage detected