In VScode when I type the first few letters of describe
, the suggestion comes up for describe
from jest and I pick it and all is good.
When I type it
for creating a test example there is no suggestion for the jest it
and worst of all when I type the two letters " it
" and the open paren " (
", instead of
it(
I get
instanceof(
so I have to type it, then arrow navigate (left arrow for example) and then right arrow and then i can type the open paren and that works.
Annoying.
For extensions I have Jest 3.2.0 I don't have other jest plugins, not sure which I would use (there are dozens).
Jest Snippets extension overrides this behavior. It also allows to create test template from a snippet.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.