Skip to content

Commit 512875e

Browse files
committed
chore: restore test code to match master branch
1 parent 0a82ef7 commit 512875e

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

example/tests/eclair.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ describe('Eclair', function () {
113113
channelCloseMinimum: 5,
114114
outputSpendingFee: 10,
115115
urgentOnChainSweep: 30,
116-
maximumFeeEstimate: 30,
116+
maximumFeeEstimate: 30
117117
});
118118
},
119119
});

example/tests/unit.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,10 +104,9 @@ describe('Unit', function () {
104104
'027f921585f2ac0c7c70e36110adecfd8fd14b8a99bfb3d000a283fcac358fce88',
105105
);
106106

107-
await expect(lm.getLdkPaymentsSent()).to.eventually.be.an('array').that.is
107+
expect(lm.getLdkPaymentsSent()).to.eventually.be.an('array').that.is.empty;
108+
expect(lm.getLdkPaymentsClaimed()).to.eventually.be.an('array').that.is
108109
.empty;
109-
await expect(lm.getLdkPaymentsClaimed()).to.eventually.be.an('array').that
110-
.is.empty;
111110

112111
const claimableBalances = await ldk.claimableBalances(false);
113112
if (claimableBalances.isErr()) {

0 commit comments

Comments
 (0)