Fixes failing unit test
This commit is contained in:
parent
c93ddccafe
commit
b19b41e588
|
@ -1,4 +1,7 @@
|
||||||
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
||||||
|
import {MatButtonModule} from '@angular/material/button';
|
||||||
|
import {MatCardModule} from '@angular/material/card';
|
||||||
|
import {MatIconModule} from '@angular/material/icon';
|
||||||
import {ActivatedRoute, convertToParamMap} from '@angular/router';
|
import {ActivatedRoute, convertToParamMap} from '@angular/router';
|
||||||
import {of} from 'rxjs';
|
import {of} from 'rxjs';
|
||||||
|
|
||||||
|
@ -11,6 +14,11 @@ describe('PrintComponent', () => {
|
||||||
beforeEach(async () => {
|
beforeEach(async () => {
|
||||||
await TestBed.configureTestingModule({
|
await TestBed.configureTestingModule({
|
||||||
declarations: [ PrintComponent ],
|
declarations: [ PrintComponent ],
|
||||||
|
imports: [
|
||||||
|
MatButtonModule,
|
||||||
|
MatCardModule,
|
||||||
|
MatIconModule,
|
||||||
|
],
|
||||||
providers: [
|
providers: [
|
||||||
{
|
{
|
||||||
provide: ActivatedRoute,
|
provide: ActivatedRoute,
|
||||||
|
|
Loading…
Reference in New Issue