vscode jest autocomplete code example
Example: vscode-jest intellisense not working
create jsconfig.json in the root directory of your project.
the file should contain the following:
{ "typeAcquisition": { "include": [ "jest" ] } }
after saving reload vscode.
Worked for me.