(baseURL)
| 5303 | |
| 5304 | describe('HTTP2', () => { |
| 5305 | const createHttp2Axios = (baseURL) => |
| 5306 | axios.create({ |
| 5307 | baseURL, |
| 5308 | httpVersion: 2, |
| 5309 | http2Options: { |
| 5310 | rejectUnauthorized: false, |
| 5311 | }, |
| 5312 | }); |
| 5313 | |
| 5314 | it('should merge request http2Options with its instance config', async () => { |
| 5315 | const http2Axios = createHttp2Axios('https://localhost:8080'); |