firsttris / vscode-jest-runner

Simple way to run or debug one or more tests from context menu, codelens or command plalette
https://marketplace.visualstudio.com/items?itemName=firsttris.vscode-jest-runner
MIT License
265 stars 124 forks source link

Support function.name in describe block #129

Closed aciccarello closed 3 years ago

aciccarello commented 3 years ago

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)

firsttris commented 3 years ago

hey @aciccarello yes im happy about any PR's !