-
Notifications
You must be signed in to change notification settings - Fork 12k
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
stylePreprocessorOptions not used for unit tests #8833
Comments
Hi, any news please ? |
I was wondering why stylePreprocessorOptions didn't work on unit tests no matter what path settings I tried... Angular CLI 1.7.3 |
Bumping this as I have experienced this issue as well. We're basically unable to use the includePaths feature at all if it does not work with ng test. |
In Angular CLI 6 you just have to add the
|
Closing as it has been answered above. Thanks |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Versions
Repro steps
scss-partial
in a folderstyles
, e.g._variables.scss
styles
tostylePreprocessorOptions.includePaths
in.angular-cli.json
.scss-partial
in any*.component.scss
-file, using@import "variables"
Observed behavior
Runing
ng serve
works as expected, runningng test
fils withFile to import not found or unreadable: variables.
Desired behavior
The unit tests (
ng test
) should also use the setting and therefore be able to resolve the_variables.scss
.Mention any other details that might be useful (optional)
This has already been reported in #4200, but this issue has been closed in favor of #3605.
That issue in turn, has been closed in february, however it does not seem to be fixed or is broken again.
The text was updated successfully, but these errors were encountered: