Monday, May 20, 2024
 Popular · Latest · Hot · Upcoming
88
rated 0 times [  89] [ 1]  / answers: 1 / hits: 20892  / 11 Years ago, sun, august 18, 2013, 12:00:00

For additional logging, I need to be able to print the current test's description.



How can I do this (with Mocha BDD)?


More From » mocha.js

 Answers
28

Here you go:



console.log(this.title);

[#76291] Friday, August 16, 2013, 11 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
alexander

Total Points: 693
Total Questions: 114
Total Answers: 95

Location: Indonesia
Member since Wed, Jul 7, 2021
3 Years ago
;