diff --git a/test/typescript/axios.ts b/test/typescript/axios.ts index 631334eff6..5afadd9eb5 100644 --- a/test/typescript/axios.ts +++ b/test/typescript/axios.ts @@ -141,6 +141,10 @@ axios.patch('/user', { foo: 'bar' }) const instance1: AxiosInstance = axios.create(); const instance2: AxiosInstance = axios.create(config); +instance1(config) + .then(handleResponse) + .catch(handleError); + instance1.request(config) .then(handleResponse) .catch(handleError);