Skip to content

Commit ed65e9a

Browse files
authored
fix: disable keepAlive in test requests until axios is fixed (#956)
1 parent 504baa3 commit ed65e9a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/utilities/axios.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
import Axios, { AxiosInstance } from 'axios';
2+
import { Agent } from 'http';
23

34
export const axios: AxiosInstance = Axios.create({
45
baseURL: 'http://localhost:3001/',
6+
httpAgent: new Agent({ keepAlive: false }), // disable keepAlive until axios is fixed
57
});

0 commit comments

Comments
 (0)