feat: allow sharee to copy public link of a shared calendar #151
Annotations
11 errors
|
tests/javascript/unit/store/settings.test.js > store/settings test suite > should provide an action to toggle the birthday calendar - enabled to disabled:
src/services/caldavService.js#L184
TypeError: Cannot read properties of undefined (reading 'enableBirthdayCalendar')
❯ enableBirthdayCalendar src/services/caldavService.js:184:25
❯ Object.toggleBirthdayCalendarEnabled src/store/settings.js:94:53
❯ Object.wrappedAction node_modules/pinia/dist/pinia.mjs:1399:26
❯ tests/javascript/unit/store/settings.test.js:233:23
|
|
tests/javascript/unit/store/settings.test.js > store/settings test suite > should provide a mutation to set the resolved moment locale:
tests/javascript/unit/store/settings.test.js#L182
AssertionError: expected "vi.fn()" to be called 1 times, but got 0 times
❯ tests/javascript/unit/store/settings.test.js:182:19
|
|
tests/javascript/unit/store/settings.test.js > store/settings test suite > should provide a mutation to set the settings initially:
tests/javascript/unit/store/settings.test.js#L121
AssertionError: expected "vi.fn()" to be called 1 times, but got 0 times
❯ tests/javascript/unit/store/settings.test.js:121:19
|
|
tests/javascript/unit/services/talkService.test.js > services/talk test suite > should generate an absolute URL to a call:
tests/javascript/unit/services/talkService.test.js#L63
AssertionError: expected 'http://localhost:3000//index.php/call…' to be 'http://nextcloud.testing:8080/nextclo…' // Object.is equality
Expected: "http://nextcloud.testing:8080/nextcloud/index.php/call/foobar"
Received: "http://localhost:3000//index.php/call/foobar"
❯ tests/javascript/unit/services/talkService.test.js:63:37
|
|
tests/javascript/unit/services/talkService.test.js > services/talk test suite > should generate an absolute URL to a call:
tests/javascript/unit/services/talkService.test.js#L63
AssertionError: expected 'http://localhost:3000//index.php/call…' to be 'https://nextcloud.testing:8443/nextcl…' // Object.is equality
Expected: "https://nextcloud.testing:8443/nextcloud/index.php/call/foobar"
Received: "http://localhost:3000//index.php/call/foobar"
❯ tests/javascript/unit/services/talkService.test.js:63:37
|
|
tests/javascript/unit/services/talkService.test.js > services/talk test suite > should generate an absolute URL to a call:
tests/javascript/unit/services/talkService.test.js#L63
AssertionError: expected 'http://localhost:3000//index.php/call…' to be 'http://nextcloud.testing/nextcloud/in…' // Object.is equality
Expected: "http://nextcloud.testing/nextcloud/index.php/call/foobar"
Received: "http://localhost:3000//index.php/call/foobar"
❯ tests/javascript/unit/services/talkService.test.js:63:37
|
|
tests/javascript/unit/services/talkService.test.js > services/talk test suite > should generate an absolute URL to a call:
tests/javascript/unit/services/talkService.test.js#L63
AssertionError: expected 'http://localhost:3000//index.php/call…' to be 'https://nextcloud.testing/nextcloud/i…' // Object.is equality
Expected: "https://nextcloud.testing/nextcloud/index.php/call/foobar"
Received: "http://localhost:3000//index.php/call/foobar"
❯ tests/javascript/unit/services/talkService.test.js:63:37
|
|
tests/javascript/unit/services/settings.test.js > Test suite: Settings service (services/settings.js) > should provide a setConfig method:
tests/javascript/unit/services/settings.test.js#L24
AssertionError: expected "vi.fn()" to be called 1 times, but got 0 times
❯ tests/javascript/unit/services/settings.test.js:24:27
|
|
tests/javascript/unit/defaults/defaultCategories.test.js > defaults/defaultCategories test suite > should provide a default set of categories:
tests/javascript/unit/defaults/defaultCategories.test.js#L38
AssertionError: expected [ { …(2) }, { …(2) }, { …(2) }, …(12) ] to deeply equal [ …(15) ]
- Expected
+ Received
[
{
- "label": "Anniversary",
- "value": "Anniversary",
+ "label": "translated message",
+ "value": "translated message",
},
{
- "label": "Appointment",
- "value": "Appointment",
+ "label": "translated message",
+ "value": "translated message",
},
{
- "label": "Business",
- "value": "Business",
+ "label": "translated message",
+ "value": "translated message",
},
{
- "label": "Education",
- "value": "Education",
+ "label": "translated message",
+ "value": "translated message",
},
{
- "label": "Holiday",
- "value": "Holiday",
+ "label": "translated message",
+ "value": "translated message",
},
{
- "label": "Meeting",
- "value": "Meeting",
+ "label": "translated message",
+ "value": "translated message",
},
{
- "label": "Miscellaneous",
- "value": "Miscellaneous",
+ "label": "translated message",
+ "value": "translated message",
},
{
- "label": "Non-working hours",
- "value": "Non-working hours",
+ "label": "translated message",
+ "value": "translated message",
},
{
- "label": "Not in office",
- "value": "Not in office",
+ "label": "translated message",
+ "value": "translated message",
},
{
- "label": "Personal",
- "value": "Personal",
+ "label": "translated message",
+ "value": "translated message",
},
{
- "label": "Phone call",
- "value": "Phone call",
+ "label": "translated message",
+ "value": "translated message",
},
{
- "label": "Sick day",
- "value": "Sick day",
+ "label": "translated message",
+ "value": "translated message",
},
{
- "label": "Special occasion",
- "value": "Special occasion",
+ "label": "translated message",
+ "value": "translated message",
},
{
- "label": "Travel",
- "value": "Travel",
+ "label": "translated message",
+ "value": "translated message",
},
{
- "label": "Vacation",
- "value": "Vacation",
+ "label": "translated message",
+ "value": "translated message",
},
]
❯ tests/javascript/unit/defaults/defaultCategories.test.js:38:31
|
|
Unhandled error:
src/services/settings.js#L15
AxiosError: Network Error
❯ XMLHttpRequest.handleError node_modules/axios/lib/adapters/xhr.js:112:20
❯ XMLHttpRequest.invokeTheCallbackFunction node_modules/jsdom/lib/jsdom/living/generated/EventHandlerNonNull.js:14:28
❯ XMLHttpRequest.<anonymous> node_modules/jsdom/lib/jsdom/living/helpers/create-event-accessor.js:36:32
❯ innerInvokeEventListeners node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:360:16
❯ invokeEventListeners node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:296:3
❯ XMLHttpRequestImpl._dispatch node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:243:9
❯ fireAnEvent node_modules/jsdom/lib/jsdom/living/helpers/events.js:18:36
❯ requestErrorSteps node_modules/jsdom/lib/jsdom/living/xhr/xhr-utils.js:123:3
❯ Object.dispatchError node_modules/jsdom/lib/jsdom/living/xhr/xhr-utils.js:59:3
❯ EventEmitter.<anonymous> node_modules/jsdom/lib/jsdom/living/xhr/XMLHttpRequest-impl.js:655:18
❯ Axios.request node_modules/axios/lib/core/Axios.js:45:41
❯ Module.setConfig src/services/settings.js:15:2
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { description: undefined, number: undefined, config: { transitional: { silentJSONParsing: true, forcedJSONParsing: true, clarifyTimeoutError: false, constructor: 'Function<Object>', __defineGetter__: 'Function<__defineGetter__>', __defineSetter__: 'Function<__defineSetter__>', hasOwnProperty: 'Function<hasOwnProperty>', __lookupGetter__: 'Function<__lookupGetter__>', __lookupSetter__: 'Function<__lookupSetter__>', isPrototypeOf: 'Function<isPrototypeOf>', propertyIsEnumerable: 'Function<propertyIsEnumerable>', toString: 'Function<toString>', valueOf: 'Function<valueOf>', __proto__: { constructor: 'Function<Object>', __defineGetter__: 'Function<__defineGetter__>', __defineSetter__: 'Function<__defineSetter__>', hasOwnProperty: 'Function<hasOwnProperty>', __lookupGetter__: 'Function<__lookupGetter__>', __lookupSetter__: 'Function<__lookupSetter__>', isPrototypeOf: 'Function<isPrototypeOf>', propertyIsEnumerable: 'Function<propertyIsEnumerable>', toString: 'Function<toString>', valueOf: 'Function<valueOf>', __proto__: null, toLocaleString: 'Function<toLocaleString>' }, toLocaleString: 'Function<toLocaleString>' }, adapter: [ 'xhr', 'http', 'fetch' ], transformRequest: [ 'Function<transformRequest>' ], transformResponse: [ 'Function<transformResponse>' ], timeout: +0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, maxBodyLength: -1, env: { FormData: 'Function<FormData>', Blob: 'Function<Blob>', constructor: 'Function<Object>', __defineGetter__: 'Function<__defineGetter__>', __defineSetter__: 'Function<__defineSetter__>', hasOwnProperty: 'Function<hasOwnProperty>', __lookupGetter__: 'Function<__lookupGetter__>', __lookupSetter__: 'Function<__lookupSetter__>', isPrototypeOf: 'Function<isPrototypeOf>', propertyIsEnumerable: 'Function<propertyIsEnumerable>', toString: 'Function<toString>', valueOf: 'Function<valueOf>', __proto__: { constructor: 'Function<Object>', __defineGetter__: 'Function<__defineGetter__>', __defineSetter__: 'Function<__defineSetter__>', hasOwnProperty: 'Function<hasOwnProperty>', __lookupGetter__: 'Function<__lookupGetter__>', __lookupSetter__: 'Function<__lookupSetter__>', isPrototypeOf: 'Function<isPrototypeOf>', propertyIsEnumerable: 'Function<propertyIsEnumerable>', toString: 'Function<toString>', valueOf: 'Function<valueOf>', __proto__: null, toLocaleString: 'Function<toLocaleString>' }, toLocaleString: 'Function<toLocaleString>' }, validateStatus: 'Function<validateStatus>', headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json', requesttoken: '', 'X-Requested-With': 'XMLHttpRequest' }, method: 'post', url: '//index.php/apps/calendar/v1/config/key42', data: '{"value":"value1337"}', allowAbsoluteUrls: true, constructor: 'Function<Object>', __defineGetter__: 'Function<__defineGetter__>', __defineSetter__: 'Function<__defineSetter__>', hasOwnProperty: 'Funct
|
|
npm-test-summary
Process completed with exit code 1.
|