-
-
Notifications
You must be signed in to change notification settings - Fork 748
Closed as not planned
Labels
Description
Line 82 in 29c9fc9
if (!isFunction(obj[prop]) && !isAsyncFunction(obj[prop])) return; |
This should check if the property is a getter before trying to access it otherwise the getter gets invoked twice here.
const Helper = require('@codeceptjs/helper');
class MyHelper extends Helper {
get foo() {
console.log('bar')
}
}
module.exports = MyHelper;