Skip to content

Commit e0a68ae

Browse files
committed
fix test
1 parent 48fa90a commit e0a68ae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/integration/connection-monitoring-and-pooling/rtt_pinger.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ describe('class RTTPinger', () => {
159159
await client?.close();
160160
});
161161

162-
it('destroys the connection with force=true', async function () {
162+
it('destroys the connection', async function () {
163163
await client.connect();
164164
const rttPingers = await getRTTPingers(client);
165165

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

173173
expect(spies).to.have.lengthOf.at.least(1);
174174
for (const spy of spies) {
175-
expect(spy).to.have.been.calledWithExactly({ force: true });
175+
expect(spy).to.have.been.calledOnce;
176176
}
177177
});
178178
});

0 commit comments

Comments
 (0)