Jest by name will be looking for the tests files and therefore for the test itself by a patterns specified in jest.config.*s under testMatch (if not specified the default Jest value will be used)
Extension Settings
/
Known Issues
vscode.workspace.findFiles does not support extended glob patterns #10851 so Glob package is used instead.