Webstorm failing to run vitest 4.07

Using:
Vitest 4.0.7
WebStorm 2025.2.4
OS WSL in windows 11 

vite.config:

import { defineConfig } from "vitest/config"
import dotenv from "dotenv"
import path from "path"

// Load .env from project root
dotenv.config({ path: path.resolve(__dirname, "../../..", ".env") })

export default defineConfig({
  test: {
    environment: "node",
    clearMocks: true,
    include: ["src/**/*.test.ts"],
    maxConcurrency: 8,
  },
})
 

If I click the play button next a test a generates a run command that is malformed.  Here's an example

 

/home/**sanitized username**/.nvm/versions/node/v22.17.1/bin/node /home/**sanitized username**/dev/**sanitized project name**/src/**sanitized project path**/node_modules/vitest/vitest.mjs --run --reporter /mnt/c/Program Files/JetBrains/WebStorm 2025.2.4/plugins/javascript-plugin/helpers/vitest-intellij/node_modules/vitest-intellij-reporter-safe.js --testNamePattern=^ ?testing a test$ /home/**sanitized username**/dev/**sanitized project name**/src/**sanitized project path**/testing.test.ts

versus running this in the terminal works

 /home/**sanitized username**/.nvm/versions/node/v22.17.1/bin/node /home/**sanitized username**/dev/**sanitized project name**/src/**sanitized project path**/node_modules/vitest/vitest.mjs --run --testNamePattern="^testing a test$"
  /home/**sanitized username**/dev/**sanitized project name**/src/**sanitized project path**/testing.test.ts

 

0

This is is a recognized issue (WEB-75191). The fix will be available in the 2025.3 release.

We are sorry for the inconvenience.

0

This is is a recognized issue (WEB-75191). The fix will be available in the 2025.3 release.

We are sorry for the inconvenience.

Thank you for sharing

0

This is is a recognized issue (WEB-75191 block blast ). The fix will be available in the 2025.3 release.

We are sorry for the inconvenience.

Great

0

What is sorry is not giving the option to configure this param (testNamePattern) also 

0

请先登录再写评论。