1
0
mirror of https://github.com/sasjs/adapter.git synced 2026-01-07 20:40:05 +00:00

test(RequestClient): fixed to use actual axios

This commit is contained in:
Saad Jutt
2021-10-01 15:42:04 +05:00
parent e975e7de97
commit 7f590c35da
5 changed files with 29 additions and 14 deletions

View File

@@ -0,0 +1,7 @@
import axios from 'axios'
import * as https from 'https'
export const createAxiosInstance = (
baseURL: string,
httpsAgent?: https.Agent
) => axios.create({ baseURL, httpsAgent })