Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/tasks.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorRaimund Schlüßler <raimund.schluessler@mailbox.org>2019-11-14 15:12:32 +0300
committerRaimund Schlüßler <raimund.schluessler@mailbox.org>2019-11-14 15:12:32 +0300
commitab383bdce781e40d5f9b39a5048d282c2d76e9d7 (patch)
tree9cb89020492a5849bc5fdfc91b13ab848c9f6307 /tests
parent89263c71998ccbcdb3220afe65f67516b2eb14b4 (diff)
Fix unhandled promise rejection in unit tests
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
Diffstat (limited to 'tests')
-rw-r--r--tests/javascript/unit/setupStore.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/javascript/unit/setupStore.js b/tests/javascript/unit/setupStore.js
index f2c90e31..bd4ad036 100644
--- a/tests/javascript/unit/setupStore.js
+++ b/tests/javascript/unit/setupStore.js
@@ -29,6 +29,7 @@ const calendarsData = [
isWriteable: () => { return true },
shares: [],
components: ['VTODO'],
+ calendarQuery: () => { return null },
tasks: [`
BEGIN:VCALENDAR\n
VERSION:2.0\n
@@ -181,6 +182,7 @@ END:VCALENDAR`
isWriteable: () => { return true },
shares: [],
components: ['VTODO', 'VEVENT'],
+ calendarQuery: () => { return null },
tasks: [`
BEGIN:VCALENDAR\n
VERSION:2.0\n