Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix test
  • Loading branch information
W-A-James committed Mar 6, 2024
commit e0a68aefd065b983726e4a3a0d1ca127167c334f
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ describe('class RTTPinger', () => {
await client?.close();
});

it('destroys the connection with force=true', async function () {
it('destroys the connection', async function () {
await client.connect();
const rttPingers = await getRTTPingers(client);

Expand All @@ -172,7 +172,7 @@ describe('class RTTPinger', () => {

expect(spies).to.have.lengthOf.at.least(1);
for (const spy of spies) {
expect(spy).to.have.been.calledWithExactly({ force: true });
expect(spy).to.have.been.calledOnce;
}
});
});
Expand Down