added spy in test to ensure coverage, even though send is a stub for now
This commit is contained in:
parent
cf1ea86f7d
commit
2f3207babe
@ -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();
|
||||
});
|
||||
});
|
||||
|
||||
Loading…
Reference in New Issue
Block a user