Jest tests cant run in the chat

Thanks for reporting a bug you have found in Cursor!
Please add the following info to help us diagnose your issue:

:white_check_mark: Check the forum to ensure the issue hasn’t been reported already
:lady_beetle: Provide a clear description of the bug

Whenever I run the Jest test, it tries to run the test in the chat and it just gets stuck. I don’t know, there’s like some loading icon and there’s a skip button and it won’t do anything. The only options I have are “Move to” which the AI can’t see, or “Skip” which then the AI says that I canceled it. This happens whenever I run a test - whenever the AI runs a test inside the chat. If I run a test in the terminal, it’s fine, but it’s really annoying because well I just have to skip and the AI can’t see it, and then I have to run it in the terminal and send it back.

So yeah, I’m not really sure what to do about that.

:counterclockwise_arrows_button: Explain how to reproduce the bug (if known)

Write some jest tests and tell the ai to run them

:camera: Attach screenshots or recordings (e.g., .jpg, .png, .mp4).

:laptop: Tell us your operating system and your Cursor version (e.g., Windows, 0.x.x).

Version: 0.50.4 (Universal)
VSCode Version: 1.96.2
Commit: 8ea935e79a50a02da912a034bbeda84a6d3d3550
Date: 2025-05-14T16:08:01.670Z
Electron: 34.3.4
Chromium: 132.0.6834.210
Node.js: 20.18.3
V8: 13.2.152.41-electron.0
OS: Darwin arm64 24.4.0

:prohibited: Tell us if the issue stops you from using Cursor.

no

Same issue here, npx jest just got frozen in chat OR terminal in Cursor. The odd thing is that it works only once after startup and then stops working until the Cursor restarts.

Works fine in the external terminal.