diff options
author | John Molakvoæ <skjnldsv@users.noreply.github.com> | 2023-07-05 18:27:10 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-05 18:27:10 +0200 |
commit | 6862ff28002c8c282bcca5c198619c03f5cb4e0b (patch) | |
tree | 546086e72ab130e6d0760f84f56999e6a2ea4364 /__mocks__ | |
parent | 79d24bfb8eebd82dd75b15c5503a4bb33563ee69 (diff) | |
parent | 7f8a390b60003adcf7ec89c3fbf86c3e98134cce (diff) | |
download | nextcloud-server-6862ff28002c8c282bcca5c198619c03f5cb4e0b.tar.gz nextcloud-server-6862ff28002c8c282bcca5c198619c03f5cb4e0b.zip |
Merge pull request #38950 from nextcloud/feat/f2v/favorites
Diffstat (limited to '__mocks__')
-rw-r--r-- | __mocks__/svg.js | 2 | ||||
-rw-r--r-- | __mocks__/webdav.ts | 27 |
2 files changed, 28 insertions, 1 deletions
diff --git a/__mocks__/svg.js b/__mocks__/svg.js index 52b1041f754..1afe4357c0d 100644 --- a/__mocks__/svg.js +++ b/__mocks__/svg.js @@ -19,4 +19,4 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ -export default 'SvgMock' +export default '<svg>SvgMock</svg>' diff --git a/__mocks__/webdav.ts b/__mocks__/webdav.ts new file mode 100644 index 00000000000..5a1498c0e2d --- /dev/null +++ b/__mocks__/webdav.ts @@ -0,0 +1,27 @@ +/** + * @copyright Copyright (c) 2023 John Molakvoæ <skjnldsv@protonmail.com> + * + * @author John Molakvoæ <skjnldsv@protonmail.com> + * + * @license AGPL-3.0-or-later + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + * + */ +export const createClient = () => {} +export const getPatcher = () => { + return { + patch: () => {} + } +} |