Hold a send with no link for the next one, and count the rest as unanswered

This commit is contained in:
2026-09-01 08:02:37 +02:00
parent bfc85ee4dd
commit 8d9656b4e0
10 changed files with 386 additions and 52 deletions
+1 -1
View File
@@ -236,7 +236,7 @@ describe('bind', () => {
const sent = await session.send({ cmdName: 'enquire_link' });
assert.ok(sent.err instanceof Error);
assert.equal(sent.err.message, 'Session closed before a response arrived');
assert.match(sent.err.message, /may have accepted/);
});
test('reports an unbind the peer left unanswered on a link that stays up', async t => {