Repository navigation
chore(deps): bump @friendsofshopware/vitest-shopware-admin-bridge to 0.2.2 - #540
Merged
Merged
Conversation
…0.2.2 Shopware trunk now guards the deprecated Shopware.State facade with Feature.triggerDeprecationOrThrow(), which crashed the administration test setup with: TypeError: this.Feature.triggerDeprecationOrThrow is not a function Bridge 0.2.2 mocks the full static Feature API, fixing the trunk test run. Also pulls in the bridge's vue-i18n 11 dependency chain.
Contributor
[Low impact] This dependency update appears safe to merge. SummaryUpdates
Reviews (1) · Last reviewed commit: "chore(deps): bump @friendsofshopware/vit..." · Reviewed by Greptile |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Bumps
@friendsofshopware/vitest-shopware-admin-bridgefrom^0.2.1to^0.2.2insrc/Resources/app/administration.Why
Shopware trunk now guards the deprecated
Shopware.Stategetter/setter withFeature.triggerDeprecationOrThrow('V6_8_0_0', …). The bridge's feature mock only exposedisActive, so the administration test setup crashed on trunk:Bridge 0.2.2 mocks the full static
FeatureAPI (includingtriggerDeprecationOrThrow,silence,isSilenced, …), fixing the trunk run. See FriendsOfShopware/vitest-shopware-admin-bridge#10.The lockfile also picks up the bridge's
vue-i18n10 → 11 dependency chain (@intlify/*), required by 0.2.2.Verification
TypeErroratshopware.ts:199with 0.2.1 against a current trunk Administration checkout; 0.2.2 resolves it.npm run test:unit: 47 files / 222 tests pass against both the local trunk checkout and a current guarded-trunk Administration checkout.