testify
testify copied to clipboard
Add conditional code snippet/completion for mocha/jest
Is your feature request related to a problem? Please describe. It would be great if this feature could be used to add conditional code snippet/completion for mocha/jest functions on test files. Also, it should have a config option to enable this feature.
Additional context This issue was first opened at the original repo.
I can implement snippet support if you think this will fit into this project.
The owner of the original project didn't like the idea to implement additional helpful features for testing, so I never created a pull request for this.
I like the idea of having snippets that are completely related to testing, like the describe and it keywords, or expect statements.
I would appreciate it if you implemented this!
Also, we can work with incremental enhancements, starting with the basic snippets and adding new things as we go and find them helpful.
@roggenbrot still got this? I'd like this very much too.
I am working on this!
I already have the snippets file to contribute to VSCode. Now I want to make it customizable from the extension so it's possible to always use them according to your preferences.