Skip to content

Commit

Permalink
fix(toaster-container.spec): fixes to module declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
Stabzs committed Sep 16, 2016
1 parent 1c6a792 commit 623c6b4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/toaster-container.component.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ export class TestDynamicComponent { }
bootstrap: [TestDynamicComponent],
declarations: [TestDynamicComponent]
})
export class TestDynamicComponentModule { }


describe('ToasterContainerComponent with sync ToasterService', () => {
Expand Down Expand Up @@ -636,6 +637,7 @@ describe('ToasterContainerComponent when included as a component', () => {
beforeEach(() => {
TestBed.configureTestingModule({
declarations: [TestComponent],
imports: [ToasterModule, TestDynamicComponentModule]
});

fixture = TestBed.createComponent<TestComponent>(TestComponent);
Expand Down Expand Up @@ -881,6 +883,7 @@ describe('Multiple ToasterContainerComponent components', () => {
beforeEach(() => {
TestBed.configureTestingModule({
declarations: [TestComponent],
imports: [ToasterModule, TestDynamicComponentModule]
});
TestBed.overrideComponent(TestComponent,
{
Expand Down

0 comments on commit 623c6b4

Please sign in to comment.