Closed enlight closed 9 years ago
Turns out that currently you can't decorate stand-alone functions, only methods within a class. Since logSuite() and logTest() are applied to the results of the describe() and it() functions it's currently impossible to convert them into decorators.
logSuite()
logTest()
describe()
it()
Turns out that currently you can't decorate stand-alone functions, only methods within a class. Since
logSuite()
andlogTest()
are applied to the results of thedescribe()
andit()
functions it's currently impossible to convert them into decorators.