Skip to content

Commit 15a6a4d

Browse files
fix: add missing layer configuration for multi consume in layers-consume-loader test
- Add issuerLayer and layer properties to multi consume configuration - Fix incorrect expected result in fallback version complex scenario test - Align with share-filter branch implementation 🤖 Generated with Claude Code Co-Authored-By: Claude <[email protected]>
1 parent ee9024a commit 15a6a4d

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

packages/enhanced/test/configCases/sharing/layers-consume-loader/webpack.config.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,8 @@ module.exports = {
132132
requiredVersion: '^2.0.0',
133133
strictVersion: true,
134134
eager: true,
135+
issuerLayer: 'prefixed-layer',
136+
layer: 'multi-pkg-layer',
135137
},
136138
},
137139
}),

packages/enhanced/test/unit/sharing/fallback-version.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ describe('Fallback Version Filtering', () => {
302302
actualVersion: '2.5.0',
303303
include: { version: '^3.0.0', fallbackVersion: '3.1.0' },
304304
exclude: { version: '^2.0.0', fallbackVersion: '1.0.0' },
305-
expectedResult: true, // Include fallback satisfies, exclude fallback doesn't
305+
expectedResult: false, // actualVersion matches exclude version, so excluded
306306
},
307307
{
308308
description:

0 commit comments

Comments
 (0)