Skip to content

Commit 9a6108a

Browse files
feat(enhanced): implement comprehensive test coverage for ConsumeSharedPlugin
- Add 70+ comprehensive tests for createConsumeSharedModule method - Implement tests for import resolution, version filtering logic - Add include/exclude version filtering with fallback support - Implement singleton warning generation tests for version filters - Add package.json reading error scenarios and edge case handling - Add apply method tests for plugin registration and hook setup - Achieve test coverage parity with ProvideSharedPlugin This addresses the user requirement for "immense test coverage for consume share plugin and provide share plugin to cover all its very complex logic" and ensures comprehensive testing of: - Multi-stage module resolution - Layer matching with issuerLayer fallback logic - Version filtering with semver range validation - Complex filtering combinations and error handling 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent aba8e05 commit 9a6108a

File tree

2 files changed

+1289
-0
lines changed

2 files changed

+1289
-0
lines changed

0 commit comments

Comments
 (0)