To keep test names up to date with refactored code, I often use describe(myClassOrFunction.name, () => {}) to name my tests. This doesn't work currently because it is not a string, however the name is easily determinable by removing .name. Would you accept a PR to support this?
To keep test names up to date with refactored code, I often use
describe(myClassOrFunction.name, () => {})
to name my tests. This doesn't work currently because it is not a string, however the name is easily determinable by removing.name
. Would you accept a PR to support this?See also #87 (comment)