Skip to content

Conversation

@medbenmakhlouf
Copy link

This pull request refactors the Angular PowerBI embedding components to leverage Angular’s standalone component feature, making NgModule usage optional. This simplifies both module management and test setup.

Key changes:

Standalone components: All PowerBI embedding components are now marked with standalone: true, allowing them to be imported and used directly without requiring a module.

Module updates: powerbi-embed.module.ts was updated to use imports instead of declarations, reflecting the migration. The redundant empty imports array was removed.

Simplified testing: Removed unnecessary TestBed.configureTestingModule calls from all spec files, since standalone components can be instantiated directly in tests.

@medbenmakhlouf
Copy link
Author

@microsoft-github-policy-service agree

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.

1 participant