Skip to content
This repository was archived by the owner on Feb 23, 2021. It is now read-only.

Commit 4e09142

Browse files
committed
Fix uncaught error in unit tests
1 parent 1db3732 commit 4e09142

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/unit/action/transaction.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ describe('Action Transactions Unit Tests', () => {
213213
});
214214

215215
it('should update invoices on data event', async () => {
216-
onStub.withArgs('data').yields();
216+
onStub.withArgs('data').yields({});
217217
onStub.withArgs('end').yields();
218218
grpc.sendStreamCommand
219219
.withArgs('subscribeInvoices')

0 commit comments

Comments
 (0)