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
It looks like your unit tests are not setup correctly. I remember if you run the config command for vitest or jest it will always regenerate a tsconfig.spec.json file that will include all unit test-like files, including *.spec.ts and *.spec.tsx.
In your reproduction repo the tsconfig.lib.json file is actually excluding all unit test files.
Current Behavior
As you can see in this screenshot for some reason the typescript config does not like .ts spec files.
Expected Behavior
I should be able to import "@nx-next-ts-issue/my-new-lib" into .ts spec files.
GitHub Repo
https://github.com/vespertilian/nx-next-ts-issue
Steps to Reproduce
NPM install
open
example.spec.ts
you should see that it does not want to importhelloWorld
from @nx-next-ts-issue/my-new-lib.I checked this in both VS Code and Webstorm
Nx Report
My repo is a bit older
The text was updated successfully, but these errors were encountered: