fix(test): Increase delay duration before stopping the server in test suite.

This commit is contained in:
Philipp Kunz 2024-10-11 02:09:50 +02:00
parent 855663eea9
commit 549719ede6
3 changed files with 8 additions and 3 deletions

View File

@ -1,5 +1,10 @@
# Changelog
## 2024-10-11 - 3.0.33 - fix(test)
Increase delay duration before stopping the server in test suite.
- Adjusted the delay time from 1000 ms to 10000 ms before stopping the server to ensure tests complete smoothly.
## 2024-09-06 - 3.0.32 - fix(virtualstream)
Fix keep-alive loop handling and test cleanup

View File

@ -102,9 +102,9 @@ tap.test('should allow VirtualStreams', async () => {
});
tap.test('should end the server', async (toolsArg) => {
await toolsArg.delayFor(1000);
await toolsArg.delayFor(10000);
await testServer.stop();
// await tap.stopForcefully();
await tap.stopForcefully();
});
export default tap.start();

View File

@ -3,6 +3,6 @@
*/
export const commitinfo = {
name: '@api.global/typedrequest',
version: '3.0.32',
version: '3.0.33',
description: 'A TypeScript library for making typed requests towards APIs, including facilities for handling requests, routing, and virtual stream handling.'
}