Skip to content

Commit

Permalink
✅ Declare button to avoid errors in calendar test (#2053)
Browse files Browse the repository at this point in the history
  • Loading branch information
RasmusKjeldgaard authored and jkaltoft committed Mar 17, 2022
1 parent 0ea7c23 commit 5b7b7d6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { createHostFactory, SpectatorHost } from '@ngneat/spectator';
import { MockComponent } from 'ng-mocks';

import {
ButtonComponent,
CalendarComponent,
CardComponent,
DropdownComponent,
Expand All @@ -24,6 +25,7 @@ describe('CalendarComponent', () => {
RadioComponent,
CardComponent,
ItemComponent,
ButtonComponent,
],
providers: [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { format, startOfDay, startOfMonth } from 'date-fns';
import { zonedTimeToUtc } from 'date-fns-tz';
import { MockComponent } from 'ng-mocks';

import { CalendarComponent, IconComponent } from '..';
import { ButtonComponent, CalendarComponent, IconComponent } from '..';
import { TestHelper } from '../../testing/test-helper';
import { WindowRef } from '../../types/window-ref';
import { CardComponent } from '../card';
Expand All @@ -30,6 +30,7 @@ describe('CalendarComponent', () => {
RadioComponent,
CardComponent,
ItemComponent,
ButtonComponent,
],
providers: [
{
Expand Down

0 comments on commit 5b7b7d6

Please sign in to comment.