Skip to content

Commit d0be842

Browse files
committed
test(package): minor change in the container component's spec
1 parent 1679ecc commit d0be842

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/module/components/mat-link-preview-container/mat-link-preview-container.component.spec.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@ import {async, ComponentFixture, TestBed} from '@angular/core/testing';
22
import {EventEmitter} from '@angular/core';
33
import {Link} from 'ngx-linkifyjs';
44
import {MatLinkPreviewContainerComponent} from './mat-link-preview-container.component';
5-
import {MatLinkPreviewService, MatLinkPreviewComponent} from '../../..';
6-
import {MatLinkPreviewModule} from '../../../../dist';
5+
import {MatLinkPreviewComponent, MatLinkPreviewModule, MatLinkPreviewService} from '../../..';
76

87
describe('MatLinkPreviewContainerComponent', () => {
98
let component: MatLinkPreviewContainerComponent;
@@ -15,7 +14,7 @@ describe('MatLinkPreviewContainerComponent', () => {
1514
beforeEach(async(() => {
1615
TestBed.configureTestingModule({
1716
imports: [MatLinkPreviewModule],
18-
declarations: [MatLinkPreviewContainerComponent],
17+
declarations: [MatLinkPreviewContainerComponent, MatLinkPreviewComponent],
1918
providers: [{provide: MatLinkPreviewService, useValue: linkPreviewServicePartial}]
2019
})
2120
.compileComponents();

0 commit comments

Comments
 (0)