Skip to content
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

fix(integration-karma): disable_synthetic is not an exported option #2554

Merged
merged 1 commit into from
Oct 28, 2021

Conversation

jodarove
Copy link
Contributor

@jodarove jodarove commented Oct 28, 2021

Details

Fixes an issue introduced in #2496:DISABLE_SYNTHETIC was removed in favor of SYNTHETIC_SHADOW_ENABLED and is no longer an exported option.

Note: The effect of DISABLE_SYNTHETIC being always undefined was not observable because compat and nativeShadowCompatible are opposed (if compat=true then nativeShadowCompatible=false, and vice versa), at least for the configured browsers.

Does this pull request introduce a breaking change?

  • ✅ No, it does not introduce a breaking change.

Does this pull request introduce an observable change?

  • ✅ No, it does not introduce an observable change.

Copy link
Member

@ekashida ekashida left a comment

Choose a reason for hiding this comment

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

Nice catch

@@ -111,7 +111,7 @@ function getSauceConfig() {
customData: {
lwc: {
COMPAT,
DISABLE_SYNTHETIC,
DISABLE_SYNTHETIC: !SYNTHETIC_SHADOW_ENABLED,
Copy link
Member

Choose a reason for hiding this comment

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

I always wonder what this is used for.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@jodarove jodarove merged commit 3f1885a into master Oct 28, 2021
@jodarove jodarove deleted the jodarove/remove-disable-synthetic branch October 28, 2021 18:57
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