Skip to content

Commit

Permalink
#112: The option to add an address should be always visible: fixed un…
Browse files Browse the repository at this point in the history
…it tests
  • Loading branch information
AndreiIarovoi committed May 14, 2018
1 parent 1926a10 commit a6eb063
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { MatDialog } from '@angular/material';
import { MatDialog, MatSnackBar } from '@angular/material';

import { WalletDetailComponent } from './wallet-detail.component';
import { WalletService } from '../../../../services/wallet.service';
Expand All @@ -16,7 +16,8 @@ describe('WalletDetailComponent', () => {
declarations: [ WalletDetailComponent ],
providers: [
{ provide: WalletService, useClass: MockWalletService },
{ provide: MatDialog, useValue: {} }
{ provide: MatDialog, useValue: {} },
{ provide: MatSnackBar, useValue: {} }
]
}).compileComponents();
}));
Expand Down

0 comments on commit a6eb063

Please sign in to comment.