diff options
author | Raimund Schlüßler <raimund.schluessler@mailbox.org> | 2019-11-14 15:12:32 +0300 |
---|---|---|
committer | Raimund Schlüßler <raimund.schluessler@mailbox.org> | 2019-11-14 15:12:32 +0300 |
commit | ab383bdce781e40d5f9b39a5048d282c2d76e9d7 (patch) | |
tree | 9cb89020492a5849bc5fdfc91b13ab848c9f6307 /tests | |
parent | 89263c71998ccbcdb3220afe65f67516b2eb14b4 (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.js | 2 |
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 |