Skip to content

Conversation

@shairez
Copy link
Contributor

@shairez shairez commented Dec 18, 2025

PR Checklist

Fixes parameter defaults not being applied when passing partial options to setupTestBed().

Previously, when calling setupTestBed({ browserMode: true }), the default values for zoneless and providers would be lost because the entire default object was replaced.

What is the new behavior?

Changed setupTestBed to use destructured parameters with individual default values instead of a single default object parameter.

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

[optional] What gif best describes this PR or how it makes you feel?

@netlify
Copy link

netlify bot commented Dec 18, 2025

Deploy Preview for analog-docs ready!

Name Link
🔨 Latest commit 240a7c2
🔍 Latest deploy log https://app.netlify.com/projects/analog-docs/deploys/69446a3120e90e000774cbcf
😎 Deploy Preview https://deploy-preview-2019--analog-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify
Copy link

netlify bot commented Dec 18, 2025

Deploy Preview for analog-blog ready!

Name Link
🔨 Latest commit 240a7c2
🔍 Latest deploy log https://app.netlify.com/projects/analog-blog/deploys/69446a310848d000084f7641
😎 Deploy Preview https://deploy-preview-2019--analog-blog.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify
Copy link

netlify bot commented Dec 18, 2025

Deploy Preview for analog-app ready!

Name Link
🔨 Latest commit 240a7c2
🔍 Latest deploy log https://app.netlify.com/projects/analog-app/deploys/69446a3113e6210008c0faf8
😎 Deploy Preview https://deploy-preview-2019--analog-app.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@brandonroberts brandonroberts changed the title ensure setupTestBed defaults merge fix(vitest-angular): ensure setupTestBed defaults merge Dec 19, 2025
@brandonroberts brandonroberts merged commit f36339f into analogjs:beta Dec 19, 2025
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants