Repository navigation
docs: correct inlineStyle and Karma include option descriptions - #34542
Conversation
There was a problem hiding this comment.
Code Review
This pull request updates schema descriptions in the Angular build and schematics packages. Specifically, it modifies the Karma builder schema to document support for both .spec and .test files, and simplifies the description of the inlineStyle option in the application schema. A review comment suggests updating the second bullet point in the Karma builder schema description to refer to a "matching test file" instead of a "matching spec file" to maintain consistency with the first bullet point.
The `ng new`/`application` `inlineStyle` description claimed only CSS can be included inline, but the schematic sets `inlineStyleLanguage` for other style languages, so inline Sass and Less work. The Karma `include` description said directories pick up only `.spec` files, but test discovery matches both `.spec` and `.test` files with `.ts` or `.tsx`.
b0b36da to
2425175
Compare
|
This pull request has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
The
ng new/applicationinlineStyledescription claimed only CSS can be included inline, but the schematic setsinlineStyleLanguagefor other style languages, so inline Sass and Less work. The Karmaincludedescription said directories pick up only.specfiles, but test discovery matches both.specand.testfiles with.tsor.tsx.