added spy in test to ensure coverage, even though send is a stub for now

This commit is contained in:
Darren Nelsen 2017-07-14 15:58:53 -04:00
parent cf1ea86f7d
commit 2f3207babe

View File

@ -20,4 +20,10 @@ describe('BroadcastTxPage', () => {
it('initializes', () => {
expect(instance).toBeTruthy();
});
it('has a send method', () => {
spyOn(instance, 'send');
instance.send();
expect(instance.send).toHaveBeenCalled();
});
});