You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When writing Jest unit tests in *.spec.ts files (Angular), there are red squiggly lines underneath all of my assertions, and intellisense does not show the correct options, because Chai assertion types are taking priority over the Jasmine assertion types. When I run these tests, they pass as expected, but this makes it very annoying to develop. For now I have to disable the extension to write unit tests.
Nx Console extension enabled - this shows incorrect intellisense
Nx Console extension disabled - this shows the correct intellisense
Expected Behavior
When writing Jest unit tests in *.spec.ts files (Angular), the intellisense should be correct. When Nx Console extension is disabled, the intellisense works fine.
Steps to Reproduce
We have an NX Angular monorepo that uses jest, cypress, and playwright for testing. This issue occurs in all *.spec.ts files
Property 'toEqual' does not exist on type 'Assertion'. Did you mean 'equal'?
'equal' is declared here. (node_modules/cypress/types/chai/index.d.ts > Chai > Assertion > equal
Current Behavior
When writing Jest unit tests in
*.spec.ts
files (Angular), there are red squiggly lines underneath all of my assertions, and intellisense does not show the correct options, because Chai assertion types are taking priority over the Jasmine assertion types. When I run these tests, they pass as expected, but this makes it very annoying to develop. For now I have to disable the extension to write unit tests.Nx Console extension enabled - this shows incorrect intellisense
Nx Console extension disabled - this shows the correct intellisense
Expected Behavior
When writing Jest unit tests in
*.spec.ts
files (Angular), the intellisense should be correct. When Nx Console extension is disabled, the intellisense works fine.Steps to Reproduce
We have an NX Angular monorepo that uses jest, cypress, and playwright for testing. This issue occurs in all
*.spec.ts
filesFailure Logs / Images / Videos
VsCode 'Problems' tab has the error messages:
Environment
extension: nrwl.angular-console
nx report:
VSCode info:
The text was updated successfully, but these errors were encountered: