jordanpowell88 / angular-ct

Angular Component Testing
19 stars 2 forks source link

fix(angular): remove duplicate imports of CommonModule on mount #39

Closed jordanpowell88 closed 2 years ago

jordanpowell88 commented 2 years ago

Currently the CommonModule is being added in some cases multiple times to the TestBedConfig. This adds a check to only add it if it doesn't already exist in the imports array