aboutsummaryrefslogtreecommitdiffstats
path: root/__mocks__
diff options
context:
space:
mode:
authorFerdinand Thiessen <opensource@fthiessen.de>2024-06-22 13:56:30 +0200
committerFerdinand Thiessen <opensource@fthiessen.de>2024-06-24 20:03:09 +0200
commit079d026d39565e7b5547741bd62bd69082347ad6 (patch)
tree5a06c2d6acd420f69bad26eebfb7d0129a59a4f6 /__mocks__
parent879eaa7681b83efb1ed7de2ec8abb6ac3c62ccdd (diff)
downloadnextcloud-server-079d026d39565e7b5547741bd62bd69082347ad6.tar.gz
nextcloud-server-079d026d39565e7b5547741bd62bd69082347ad6.zip
feat(files): Allow uploading directories
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Diffstat (limited to '__mocks__')
-rw-r--r--__mocks__/@nextcloud/axios.ts8
1 files changed, 8 insertions, 0 deletions
diff --git a/__mocks__/@nextcloud/axios.ts b/__mocks__/@nextcloud/axios.ts
index cef18f20df4..5133574d9ed 100644
--- a/__mocks__/@nextcloud/axios.ts
+++ b/__mocks__/@nextcloud/axios.ts
@@ -3,6 +3,14 @@
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
export default {
+ interceptors: {
+ response: {
+ use: () => {},
+ },
+ request: {
+ use: () => {},
+ },
+ },
get: async () => ({ status: 200, data: {} }),
delete: async () => ({ status: 200, data: {} }),
post: async () => ({ status: 200, data: {} }),