-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tsconfig.editor.json breaks tests development (Cannot find name 'describe') #10314
Comments
@Lonli-Lokli thanks for reporting this! A fix was merged and should be released soon so new apps/workspaces won't have the issue. Please make sure to amend your existing |
For already generated |
Hey guys, a question regarding this topic... What is tsconfig.editor.json for? Thanks in advance :) |
@cnpallares I found a description here: #3810
|
@kwiniarski97 thank you! I will take a look. 🙌🏽 |
This issue has been closed for more than 30 days. If this issue is still occuring, please open a new issue with more recent context. |
Current Behavior
Create angular app with latst (14.1) Nx
Open app.component.spec.ts
TS2593: Cannot find name 'describe'. Do you need to install type definitions for a test runner? Try
npm i --save-dev @types/jest
ornpm i --save-dev @types/mocha
and then add 'jest' or 'mocha' to the types field in your tsconfig.Expected Behavior
No error in webstorm or vscode
Steps to Reproduce
npx create-nx-workspace@latest with angular preset
Failure Logs
The reason for this error in tests is new
tsconfig.editor.json
which do not respectjest
typesEnvironment
The text was updated successfully, but these errors were encountered: