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
but libs/lib/tsconfig.build.composite.json does not exist.
Expected result
libs/lib/tsconfig.spec.json should contain only relevant references.
Running npm run ng test lib should works fine.
Additional comments
It seems that IDE is complaining also on the composite, to be checked why.
The library is generated with jest for testing but "types": ["jest"] is missing in the libs/lib/tsconfig.spec.json#compilerOptions
The text was updated successfully, but these errors were encountered:
matthieu-crouzet
changed the title
[Bug]: The tsconfig spec generated for library contains unknown reference
[Bug]: The tsconfig spec generated for library contains several issues
Nov 18, 2024
Package name
workspace
Package version
11.4.1
Reproduction steps
To reproduce the issue you can run the following commands:
npm create @o3r monorepo cd monorepo npm run ng g @o3r/workspace:library lib
If you try to run
npm run ng test lib
You will have errors because of issues in the
libs/lib/tsconfig.spec.json
Current result
libs/lib/tsconfig.spec.json
content is the following:but
libs/lib/tsconfig.build.composite.json
does not exist.Expected result
libs/lib/tsconfig.spec.json
should contain only relevant references.Running
npm run ng test lib
should works fine.Additional comments
It seems that IDE is complaining also on the
composite
, to be checked why.The library is generated with jest for testing but
"types": ["jest"]
is missing in thelibs/lib/tsconfig.spec.json#compilerOptions
The text was updated successfully, but these errors were encountered: