Open abrighton opened 11 months ago
When I run a test in Idea, it uses the option "--framework Mocha", but then I get an error message that only "mocha" (lowercase) is supported. This is with the latest versions of Idea and all dependencies.
IntelliJ IDEA 2023.2.5 (Ultimate Edition)
"devDependencies": { "@testing-library/react": "^14.1.2", "@testing-library/user-event": "^14.5.1", "@types/mocha": "^10.0.6", "@types/node": "^20.10.3", "@types/react": "^18.2.42", "@types/react-dom": "^18.2.17", "@typescript-eslint/eslint-plugin": "^6.13.2", "@typescript-eslint/parser": "^6.13.2", "@typestrong/ts-mockito": "^2.6.6", "@vitejs/plugin-react": "^4.2.1", "@wdio/browser-runner": "^8.24.9", "@wdio/cli": "^8.24.9", "@wdio/globals": "^8.24.9", "@wdio/mocha-framework": "^8.24.12", "@wdio/spec-reporter": "^8.24.9", "autoprefixer": "^10.4.16", "eslint": "^8.55.0", "eslint-config-prettier": "^9.1.0", "eslint-plugin-prettier": "^5.0.1", "eslint-plugin-react": "^7.33.2", "eslint-plugin-react-hooks": "^4.6.0", "prettier": "^3.1.0", "ts-node": "^10.9.1", "typescript": "^5.3.2", "vite": "^5.0.5", "vite-tsconfig-paths": "^4.2.1" }
I have the bug too and unfortunately I cannot use the plugin. please fix
When I run a test in Idea, it uses the option "--framework Mocha", but then I get an error message that only "mocha" (lowercase) is supported. This is with the latest versions of Idea and all dependencies.
IntelliJ IDEA 2023.2.5 (Ultimate Edition)
"devDependencies": { "@testing-library/react": "^14.1.2", "@testing-library/user-event": "^14.5.1", "@types/mocha": "^10.0.6", "@types/node": "^20.10.3", "@types/react": "^18.2.42", "@types/react-dom": "^18.2.17", "@typescript-eslint/eslint-plugin": "^6.13.2", "@typescript-eslint/parser": "^6.13.2", "@typestrong/ts-mockito": "^2.6.6", "@vitejs/plugin-react": "^4.2.1", "@wdio/browser-runner": "^8.24.9", "@wdio/cli": "^8.24.9", "@wdio/globals": "^8.24.9", "@wdio/mocha-framework": "^8.24.12", "@wdio/spec-reporter": "^8.24.9", "autoprefixer": "^10.4.16", "eslint": "^8.55.0", "eslint-config-prettier": "^9.1.0", "eslint-plugin-prettier": "^5.0.1", "eslint-plugin-react": "^7.33.2", "eslint-plugin-react-hooks": "^4.6.0", "prettier": "^3.1.0", "ts-node": "^10.9.1", "typescript": "^5.3.2", "vite": "^5.0.5", "vite-tsconfig-paths": "^4.2.1" }