We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 52473d8 commit 23b93c2Copy full SHA for 23b93c2
1 file changed
tests/setup.js
@@ -12,6 +12,23 @@ jest.mock('@nextcloud/initial-state', () => ({
12
loadState: (app, key, fallback) => fallback,
13
}))
14
15
+jest.mock('@nextcloud/cdav-library', () => ({
16
+ __esModule: true,
17
+ default: jest.fn(),
18
+ namespaces: {},
19
+}))
20
+
21
+jest.mock('@nextcloud/axios', () => ({
22
23
+ default: {
24
+ get: jest.fn(),
25
+ post: jest.fn(),
26
+ put: jest.fn(),
27
+ patch: jest.fn(),
28
+ delete: jest.fn(),
29
+ },
30
+}), { virtual: true })
31
32
global.appName = 'contacts'
33
34
global.OC = {
0 commit comments