diff options
author | Ferdinand Thiessen <opensource@fthiessen.de> | 2024-10-28 14:34:06 +0100 |
---|---|---|
committer | Ferdinand Thiessen <opensource@fthiessen.de> | 2024-10-30 10:11:18 +0100 |
commit | 03498cf8196fcdbfc8a82a7aa0c3bbc187943bf6 (patch) | |
tree | abd9b5a241c2989055df0a15e227872f431cf4c1 /__mocks__ | |
parent | d99c24bdcad7467a2a74e58298b05882a53a08d0 (diff) | |
download | nextcloud-server-03498cf8196fcdbfc8a82a7aa0c3bbc187943bf6.tar.gz nextcloud-server-03498cf8196fcdbfc8a82a7aa0c3bbc187943bf6.zip |
chore(deps): Update `@nextcloud/upload` to at least 1.5.0
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Diffstat (limited to '__mocks__')
-rw-r--r-- | __mocks__/@nextcloud/axios.ts | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/__mocks__/@nextcloud/axios.ts b/__mocks__/@nextcloud/axios.ts index e9a440f4747..35cb11bcabf 100644 --- a/__mocks__/@nextcloud/axios.ts +++ b/__mocks__/@nextcloud/axios.ts @@ -19,8 +19,20 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ + +import type { AxiosInterceptorManager, AxiosResponse, InternalAxiosRequestConfig } from 'axios' + export default { get: async () => ({ status: 200, data: {} }), delete: async () => ({ status: 200, data: {} }), post: async () => ({ status: 200, data: {} }), + + interceptors: { + request: { + use: () => {}, + } as AxiosInterceptorManager<InternalAxiosRequestConfig>, + response: { + use: () => {}, + } as AxiosInterceptorManager<AxiosResponse>, + } } |