Skip to content

Commit

Permalink
test(draw): Test draw panel as standalone component
Browse files Browse the repository at this point in the history
Move from declarations to imports
  • Loading branch information
FilipLeitner authored and jmacura committed Oct 17, 2024
1 parent 89881a4 commit d622eb8
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions projects/hslayers/test/draw-panel.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,12 @@ describe('HsDrawPanel', () => {

TestBed.configureTestingModule({
schemas: [CUSTOM_ELEMENTS_SCHEMA],
declarations: [DrawPanelComponent],
imports: [FormsModule, TranslateCustomPipe, NgbDropdownModule],
imports: [
FormsModule,
TranslateCustomPipe,
NgbDropdownModule,
DrawPanelComponent,
],
providers: [
HsDrawService,
HsLanguageService,
Expand Down

0 comments on commit d622eb8

Please sign in to comment.