Skip to content

Conversation

@Harpush
Copy link
Collaborator

@Harpush Harpush commented Aug 27, 2024

When using jest for testing circular references are not allowed (while they are allowed for ng build and karma testing).
The origin of the circularity is SplitComponent referencing using contentChildren the SplitAreaComponent while SplitAreaComponent also injects SplitComponent.
To break the circular reference - an injection token is introduced to allow type only import of SplitAreaComponent.

Related to: #441 (comment)

@Jefiozie Jefiozie merged commit 5020076 into angular-split:main Aug 30, 2024
@Harpush Harpush deleted the fix-circular-reference branch August 30, 2024 22: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.

3 participants