Thanks for reporting a bug you have found in Cursor!
Please add the following info to help us diagnose your issue:
Check the forum to ensure the issue hasn’t been reported already
Checked
Provide a clear description of the bug
When I ask composer to create a jest test for me while also providing other jest tests as context I see the “forever loader” issue, where the product is stuck in a never ending thinking loop. The exact same prompt works in the “Chat” window.
Explain how to reproduce the bug (if known)
Attach screenshots or recordings (e.g., .jpg, .png, .mp4).
Tell us your operating system and your Cursor version (e.g., Windows, 0.x.x).
Version: 0.44.11
VSCode Version: 1.93.1
Commit: fe574d0820377383143b2ea26aa6ae28b3425220
Date: 2025-01-03T07:59:06.361Z (2 wks ago)
Electron: 30.5.1
Chromium: 124.0.6367.243
Node.js: 20.16.0
V8: 12.4.254.20-electron.0
OS: Darwin arm64 23.6.0
Tell us if the issue stops you from using Cursor.
It does completely break my ability to use Cursor for Jest code.
LOGS
2workbench.desktop.main.js:3542 [Extension Host] jest-editor-support parser returned error TypeError: Cannot read properties of undefined (reading ‘flatMap’)
at t.JestRunnerCodeLensProvider. (/Users/[email protected]/.cursor/extensions/firsttris.vscode-jest-runner-0.4.74/src/JestRunnerCodeLensProvider.ts:69:15)
at Generator.next ()
at /Users/[email protected]/.cursor/extensions/firsttris.vscode-jest-runner-0.4.74/dist/extension.js:1:61375
at new Promise ()
at fileName (/Users/[email protected]/.cursor/extensions/firsttris.vscode-jest-runner-0.4.74/dist/extension.js:1:61120)
at t.JestRunnerCodeLensProvider.provideCodeLenses (/Users/[email protected]/.cursor/extensions/firsttris.vscode-jest-runner-0.4.74/src/JestRunnerCodeLensProvider.ts:63:43)
at m.provideCodeLenses (/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:192:104478)
at /Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:192:137928
at Ze.s (/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:192:136674)
at Ze.$provideCodeLenses (/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:192:137916)
at R.S (/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:189:5984)
at R.Q (/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:189:5750)
at R.M (/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:189:4732)
at R.L (/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:189:3603)
at a.value (/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:189:2298)
at o.B (/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:113:734)
at o.fire (/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:113:951)
at u.fire (/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:135:14600)
at a.value (/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:215:8666)
at o.B (/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:113:734)
at o.fire (/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:113:951)
at u.fire (/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:135:14600)
at MessagePortMain. (/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:215:6792)
at MessagePortMain.emit (node:events:519:28)
at Object.MessagePortMain._internalPort.emit (node:electron/js2c/utility_init:2:2619)
at Object.callbackTrampoline (node:internal/async_hooks:130:17)
console.error @ workbench.desktop.main.js:3542
d @ workbench.desktop.main.js:530
$logExtensionHostMessage @ workbench.desktop.main.js:2950
S @ workbench.desktop.main.js:2950
Q @ workbench.desktop.main.js:2950
M @ workbench.desktop.main.js:2950
L @ workbench.desktop.main.js:2950
(anonymous) @ workbench.desktop.main.js:2950
B @ workbench.desktop.main.js:470
fire @ workbench.desktop.main.js:470
fire @ workbench.desktop.main.js:1153
G.onmessage @ workbench.desktop.main.js:3000
workbench.desktop.main.js:530



