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

Commit c5b78d2

Browse files
committed
Fix integration test
1 parent 969c4b8 commit c5b78d2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/integration/action/action-integration.spec.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,12 +348,13 @@ describe('Action Integration Tests', function() {
348348
const isValid = await payments1.decodeInvoice({
349349
invoice: store2.invoice.uri,
350350
});
351+
expect(isValid, 'to be', true);
352+
while (!store1.payment.fee) await nap(100);
351353
expect(
352354
parseFloat(store1.payment.fee),
353355
'to be greater than or equal to',
354356
0
355357
);
356-
expect(isValid, 'to be', true);
357358
});
358359

359360
it('should send lightning payment from request', async () => {

0 commit comments

Comments
 (0)