Skip to content

fix(@schematics/angular): prevent adding test dependencies when minimal option is enabled#32550

Merged
alan-agius4 merged 1 commit intoangular:mainfrom
jase88:minimal-app-test-dependencies
Feb 26, 2026
Merged

fix(@schematics/angular): prevent adding test dependencies when minimal option is enabled#32550
alan-agius4 merged 1 commit intoangular:mainfrom
jase88:minimal-app-test-dependencies

Conversation

@jase88
Copy link
Contributor

@jase88 jase88 commented Feb 23, 2026

PR Checklist

Please check to confirm your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Documentation content changes
  • Other... Please describe:

What is the current behavior?

If creating an application in minimal mode default test dependencies like vitestor jsdom are installed.

Issue Number: #32531

What is the new behavior?

If creating an application in minimal mode no test dependencies are installed.

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

@jase88 jase88 force-pushed the minimal-app-test-dependencies branch from 3133f47 to f7f8910 Compare February 23, 2026 20:36
@alan-agius4 alan-agius4 linked an issue Feb 23, 2026 that may be closed by this pull request
@alan-agius4 alan-agius4 added the target: patch This PR is targeted for the next patch release label Feb 23, 2026
Copy link
Collaborator

@alan-agius4 alan-agius4 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks for your contribution.

@alan-agius4 alan-agius4 added the action: merge The PR is ready for merge by the caretaker label Feb 23, 2026
@alan-agius4 alan-agius4 merged commit 152d09b into angular:main Feb 26, 2026
37 checks passed
@alan-agius4
Copy link
Collaborator

This PR was merged into the repository. The changes were merged into the following branches:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

action: merge The PR is ready for merge by the caretaker area: @schematics/angular target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Flag --minimal adds vitest and jsdom

2 participants