Skip to content

Commit 5d5ff81

Browse files
committed
fix(tests): clean up leaked nock interceptor after httpTimeout test to prevent flaky CI failures
1 parent 4b3319f commit 5d5ff81

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

test/client.tests.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -293,6 +293,7 @@ describe('client initialization', function () {
293293
httpTimeout: 500,
294294
});
295295
await expect(getClient(config)).to.be.rejectedWith('operation timed out');
296+
nock.cleanAll();
296297
});
297298
});
298299

0 commit comments

Comments
 (0)