This repository has been archived by the owner on Sep 11, 2024. It is now read-only.
Add timezone to user profile #28586
tests.yml
on: pull_request
Matrix: Jest
Element Web Integration Tests
2m 8s
Skip SonarCloud in merge queue
0s
Annotations
12 errors
PreferencesUserSettingsTab › should render:
test/components/views/settings/tabs/user/PreferencesUserSettingsTab-test.tsx#L40
expect(received).toMatchSnapshot()
Snapshot name: `PreferencesUserSettingsTab should render 1`
- Snapshot - 58
+ Received + 85
@@ -302,12 +302,39 @@
<div
class="mx_ToggleSwitch_ball"
/>
</div>
</div>
+ <div
+ class="mx_SettingsFlag"
+ >
+ <label
+ class="mx_SettingsFlag_label"
+ for="mx_SettingsFlag_GQvdMWe954DV"
+ >
+ <span
+ class="mx_SettingsFlag_labelText"
+ >
+ Publish timezone on public profile
+ </span>
+ </label>
+ <div
+ aria-checked="false"
+ aria-disabled="true"
+ aria-label="Publish timezone on public profile"
+ class="mx_AccessibleButton mx_ToggleSwitch"
+ id="mx_SettingsFlag_GQvdMWe954DV"
+ role="switch"
+ tabindex="0"
+ >
+ <div
+ class="mx_ToggleSwitch_ball"
+ />
+ </div>
</div>
</div>
+ </div>
<div
class="mx_SettingsSubsection"
>
<div
class="mx_SettingsSubsectionHeading"
@@ -333,11 +360,11 @@
<div
class="mx_SettingsFlag"
>
<label
class="mx_SettingsFlag_label"
- for="mx_SettingsFlag_GQvdMWe954DV"
+ for="mx_SettingsFlag_IAu5CsiHRD7n"
>
<span
class="mx_SettingsFlag_labelText"
>
Send read receipts
@@ -346,11 +373,11 @@
<div
aria-checked="true"
aria-disabled="true"
aria-label="Send read receipts"
class="mx_AccessibleButton mx_ToggleSwitch mx_ToggleSwitch_on"
- id="mx_SettingsFlag_GQvdMWe954DV"
+ id="mx_SettingsFlag_IAu5CsiHRD7n"
role="switch"
tabindex="0"
>
<div
class="mx_ToggleSwitch_ball"
@@ -360,11 +387,11 @@
<div
class="mx_SettingsFlag"
>
<label
class="mx_SettingsFlag_label"
- for="mx_SettingsFlag_IAu5CsiHRD7n"
+ for="mx_SettingsFlag_yrA2ohjWVJIP"
>
<span
class="mx_SettingsFlag_labelText"
>
Send typing notifications
@@ -373,11 +400,11 @@
<div
aria-checked="true"
aria-disabled="true"
aria-label="Send typing notifications"
class="mx_AccessibleButton mx_ToggleSwitch mx_ToggleSwitch_on"
- id="mx_SettingsFlag_IAu5CsiHRD7n"
+ id="mx_SettingsFlag_yrA2ohjWVJIP"
role="switch"
tabindex="0"
>
<div
class="mx_ToggleSwitch_ball"
@@ -404,11 +431,11 @@
<div
class="mx_SettingsFlag"
>
<label
class="mx_SettingsFlag_label"
- for="mx_SettingsFlag_yrA2ohjWVJIP"
+ for="mx_SettingsFlag_auy1OmnTidX4"
>
<span
class="mx_SettingsFlag_labelText"
>
Automatically replace plain text Emoji
@@ -417,11 +444,11 @@
<div
aria-checked="false"
aria-disabled="true"
aria-label="Automatically replac
|
Jest (2)
Process completed with exit code 1.
|
<UserInfo /> › closes on close button click:
src/hooks/useUserTimezone.ts#L42
TypeError: cli.doesServerSupportExtendedProfiles is not a function
at doesServerSupportExtendedProfiles (src/hooks/useUserTimezone.ts:42:13)
at invokePassiveEffectCreate (node_modules/react-dom/cjs/react-dom.development.js:23487:20)
at HTMLUnknownElement.callCallback (node_modules/react-dom/cjs/react-dom.development.js:3945:14)
at HTMLUnknownElement.callTheUserObjectsOperation (node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30)
at innerInvokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:350:25)
at invokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
at HTMLUnknownElementImpl._dispatch (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
at HTMLUnknownElementImpl.dispatchEvent (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
at HTMLUnknownElement.dispatchEvent (node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
at Object.invokeGuardedCallbackDev (node_modules/react-dom/cjs/react-dom.development.js:3994:16)
at invokeGuardedCallback (node_modules/react-dom/cjs/react-dom.development.js:4056:31)
at flushPassiveEffectsImpl (node_modules/react-dom/cjs/react-dom.development.js:23574:9)
at unstable_runWithPriority (node_modules/scheduler/cjs/scheduler.development.js:468:12)
at runWithPriority$1 (node_modules/react-dom/cjs/react-dom.development.js:11276:10)
at flushPassiveEffects (node_modules/react-dom/cjs/react-dom.development.js:23447:14)
at performSyncWorkOnRoot (node_modules/react-dom/cjs/react-dom.development.js:22269:3)
at node_modules/react-dom/cjs/react-dom.development.js:11327:26
at unstable_runWithPriority (node_modules/scheduler/cjs/scheduler.development.js:468:12)
at runWithPriority$1 (node_modules/react-dom/cjs/react-dom.development.js:11276:10)
at flushSyncCallbackQueueImpl (node_modules/react-dom/cjs/react-dom.development.js:11322:9)
at flushSyncCallbackQueue (node_modules/react-dom/cjs/react-dom.development.js:11309:3)
at batchedUpdates$1 (node_modules/react-dom/cjs/react-dom.development.js:22387:7)
at act (node_modules/react-dom/cjs/react-dom-test-utils.development.js:1042:14)
at render (node_modules/@testing-library/react/dist/pure.js:97:26)
at renderComponent (test/components/views/right_panel/UserInfo-test.tsx:207:22)
at Object.renderComponent (test/components/views/right_panel/UserInfo-test.tsx:222:9)
|
<UserInfo /> › without a room › does not render space header:
src/hooks/useUserTimezone.ts#L42
TypeError: cli.doesServerSupportExtendedProfiles is not a function
at doesServerSupportExtendedProfiles (src/hooks/useUserTimezone.ts:42:13)
at invokePassiveEffectCreate (node_modules/react-dom/cjs/react-dom.development.js:23487:20)
at HTMLUnknownElement.callCallback (node_modules/react-dom/cjs/react-dom.development.js:3945:14)
at HTMLUnknownElement.callTheUserObjectsOperation (node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30)
at innerInvokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:350:25)
at invokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
at HTMLUnknownElementImpl._dispatch (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
at HTMLUnknownElementImpl.dispatchEvent (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
at HTMLUnknownElement.dispatchEvent (node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
at Object.invokeGuardedCallbackDev (node_modules/react-dom/cjs/react-dom.development.js:3994:16)
at invokeGuardedCallback (node_modules/react-dom/cjs/react-dom.development.js:4056:31)
at flushPassiveEffectsImpl (node_modules/react-dom/cjs/react-dom.development.js:23574:9)
at unstable_runWithPriority (node_modules/scheduler/cjs/scheduler.development.js:468:12)
at runWithPriority$1 (node_modules/react-dom/cjs/react-dom.development.js:11276:10)
at flushPassiveEffects (node_modules/react-dom/cjs/react-dom.development.js:23447:14)
at performSyncWorkOnRoot (node_modules/react-dom/cjs/react-dom.development.js:22269:3)
at node_modules/react-dom/cjs/react-dom.development.js:11327:26
at unstable_runWithPriority (node_modules/scheduler/cjs/scheduler.development.js:468:12)
at runWithPriority$1 (node_modules/react-dom/cjs/react-dom.development.js:11276:10)
at flushSyncCallbackQueueImpl (node_modules/react-dom/cjs/react-dom.development.js:11322:9)
at flushSyncCallbackQueue (node_modules/react-dom/cjs/react-dom.development.js:11309:3)
at batchedUpdates$1 (node_modules/react-dom/cjs/react-dom.development.js:22387:7)
at act (node_modules/react-dom/cjs/react-dom-test-utils.development.js:1042:14)
at render (node_modules/@testing-library/react/dist/pure.js:97:26)
at renderComponent (test/components/views/right_panel/UserInfo-test.tsx:207:22)
at Object.renderComponent (test/components/views/right_panel/UserInfo-test.tsx:231:13)
|
<UserInfo /> › without a room › renders user info:
src/hooks/useUserTimezone.ts#L42
TypeError: cli.doesServerSupportExtendedProfiles is not a function
at doesServerSupportExtendedProfiles (src/hooks/useUserTimezone.ts:42:13)
at invokePassiveEffectCreate (node_modules/react-dom/cjs/react-dom.development.js:23487:20)
at HTMLUnknownElement.callCallback (node_modules/react-dom/cjs/react-dom.development.js:3945:14)
at HTMLUnknownElement.callTheUserObjectsOperation (node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30)
at innerInvokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:350:25)
at invokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
at HTMLUnknownElementImpl._dispatch (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
at HTMLUnknownElementImpl.dispatchEvent (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
at HTMLUnknownElement.dispatchEvent (node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
at Object.invokeGuardedCallbackDev (node_modules/react-dom/cjs/react-dom.development.js:3994:16)
at invokeGuardedCallback (node_modules/react-dom/cjs/react-dom.development.js:4056:31)
at flushPassiveEffectsImpl (node_modules/react-dom/cjs/react-dom.development.js:23574:9)
at unstable_runWithPriority (node_modules/scheduler/cjs/scheduler.development.js:468:12)
at runWithPriority$1 (node_modules/react-dom/cjs/react-dom.development.js:11276:10)
at flushPassiveEffects (node_modules/react-dom/cjs/react-dom.development.js:23447:14)
at performSyncWorkOnRoot (node_modules/react-dom/cjs/react-dom.development.js:22269:3)
at node_modules/react-dom/cjs/react-dom.development.js:11327:26
at unstable_runWithPriority (node_modules/scheduler/cjs/scheduler.development.js:468:12)
at runWithPriority$1 (node_modules/react-dom/cjs/react-dom.development.js:11276:10)
at flushSyncCallbackQueueImpl (node_modules/react-dom/cjs/react-dom.development.js:11322:9)
at flushSyncCallbackQueue (node_modules/react-dom/cjs/react-dom.development.js:11309:3)
at batchedUpdates$1 (node_modules/react-dom/cjs/react-dom.development.js:22387:7)
at act (node_modules/react-dom/cjs/react-dom-test-utils.development.js:1042:14)
at render (node_modules/@testing-library/react/dist/pure.js:97:26)
at renderComponent (test/components/views/right_panel/UserInfo-test.tsx:207:22)
at Object.renderComponent (test/components/views/right_panel/UserInfo-test.tsx:236:13)
|
<UserInfo /> › without a room › renders encryption info panel without pending verification:
src/hooks/useUserTimezone.ts#L42
TypeError: cli.doesServerSupportExtendedProfiles is not a function
at doesServerSupportExtendedProfiles (src/hooks/useUserTimezone.ts:42:13)
at invokePassiveEffectCreate (node_modules/react-dom/cjs/react-dom.development.js:23487:20)
at HTMLUnknownElement.callCallback (node_modules/react-dom/cjs/react-dom.development.js:3945:14)
at HTMLUnknownElement.callTheUserObjectsOperation (node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30)
at innerInvokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:350:25)
at invokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
at HTMLUnknownElementImpl._dispatch (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
at HTMLUnknownElementImpl.dispatchEvent (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
at HTMLUnknownElement.dispatchEvent (node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
at Object.invokeGuardedCallbackDev (node_modules/react-dom/cjs/react-dom.development.js:3994:16)
at invokeGuardedCallback (node_modules/react-dom/cjs/react-dom.development.js:4056:31)
at flushPassiveEffectsImpl (node_modules/react-dom/cjs/react-dom.development.js:23574:9)
at unstable_runWithPriority (node_modules/scheduler/cjs/scheduler.development.js:468:12)
at runWithPriority$1 (node_modules/react-dom/cjs/react-dom.development.js:11276:10)
at flushPassiveEffects (node_modules/react-dom/cjs/react-dom.development.js:23447:14)
at performSyncWorkOnRoot (node_modules/react-dom/cjs/react-dom.development.js:22269:3)
at node_modules/react-dom/cjs/react-dom.development.js:11327:26
at unstable_runWithPriority (node_modules/scheduler/cjs/scheduler.development.js:468:12)
at runWithPriority$1 (node_modules/react-dom/cjs/react-dom.development.js:11276:10)
at flushSyncCallbackQueueImpl (node_modules/react-dom/cjs/react-dom.development.js:11322:9)
at flushSyncCallbackQueue (node_modules/react-dom/cjs/react-dom.development.js:11309:3)
at batchedUpdates$1 (node_modules/react-dom/cjs/react-dom.development.js:22387:7)
at act (node_modules/react-dom/cjs/react-dom-test-utils.development.js:1042:14)
at render (node_modules/@testing-library/react/dist/pure.js:97:26)
at renderComponent (test/components/views/right_panel/UserInfo-test.tsx:207:22)
at Object.renderComponent (test/components/views/right_panel/UserInfo-test.tsx:241:13)
|
<UserInfo /> › without a room › renders encryption verification panel with pending verification:
src/hooks/useUserTimezone.ts#L42
TypeError: cli.doesServerSupportExtendedProfiles is not a function
at doesServerSupportExtendedProfiles (src/hooks/useUserTimezone.ts:42:13)
at invokePassiveEffectCreate (node_modules/react-dom/cjs/react-dom.development.js:23487:20)
at HTMLUnknownElement.callCallback (node_modules/react-dom/cjs/react-dom.development.js:3945:14)
at HTMLUnknownElement.callTheUserObjectsOperation (node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30)
at innerInvokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:350:25)
at invokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
at HTMLUnknownElementImpl._dispatch (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
at HTMLUnknownElementImpl.dispatchEvent (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
at HTMLUnknownElement.dispatchEvent (node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
at Object.invokeGuardedCallbackDev (node_modules/react-dom/cjs/react-dom.development.js:3994:16)
at invokeGuardedCallback (node_modules/react-dom/cjs/react-dom.development.js:4056:31)
at flushPassiveEffectsImpl (node_modules/react-dom/cjs/react-dom.development.js:23574:9)
at unstable_runWithPriority (node_modules/scheduler/cjs/scheduler.development.js:468:12)
at runWithPriority$1 (node_modules/react-dom/cjs/react-dom.development.js:11276:10)
at flushPassiveEffects (node_modules/react-dom/cjs/react-dom.development.js:23447:14)
at performSyncWorkOnRoot (node_modules/react-dom/cjs/react-dom.development.js:22269:3)
at node_modules/react-dom/cjs/react-dom.development.js:11327:26
at unstable_runWithPriority (node_modules/scheduler/cjs/scheduler.development.js:468:12)
at runWithPriority$1 (node_modules/react-dom/cjs/react-dom.development.js:11276:10)
at flushSyncCallbackQueueImpl (node_modules/react-dom/cjs/react-dom.development.js:11322:9)
at flushSyncCallbackQueue (node_modules/react-dom/cjs/react-dom.development.js:11309:3)
at batchedUpdates$1 (node_modules/react-dom/cjs/react-dom.development.js:22387:7)
at act (node_modules/react-dom/cjs/react-dom-test-utils.development.js:1042:14)
at render (node_modules/@testing-library/react/dist/pure.js:97:26)
at renderComponent (test/components/views/right_panel/UserInfo-test.tsx:207:22)
at Object.renderComponent (test/components/views/right_panel/UserInfo-test.tsx:246:13)
|
<UserInfo /> › without a room › should show error modal when the verification request is cancelled with a mismatch:
src/hooks/useUserTimezone.ts#L42
TypeError: cli.doesServerSupportExtendedProfiles is not a function
at doesServerSupportExtendedProfiles (src/hooks/useUserTimezone.ts:42:13)
at invokePassiveEffectCreate (node_modules/react-dom/cjs/react-dom.development.js:23487:20)
at HTMLUnknownElement.callCallback (node_modules/react-dom/cjs/react-dom.development.js:3945:14)
at HTMLUnknownElement.callTheUserObjectsOperation (node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30)
at innerInvokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:350:25)
at invokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
at HTMLUnknownElementImpl._dispatch (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
at HTMLUnknownElementImpl.dispatchEvent (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
at HTMLUnknownElement.dispatchEvent (node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
at Object.invokeGuardedCallbackDev (node_modules/react-dom/cjs/react-dom.development.js:3994:16)
at invokeGuardedCallback (node_modules/react-dom/cjs/react-dom.development.js:4056:31)
at flushPassiveEffectsImpl (node_modules/react-dom/cjs/react-dom.development.js:23574:9)
at unstable_runWithPriority (node_modules/scheduler/cjs/scheduler.development.js:468:12)
at runWithPriority$1 (node_modules/react-dom/cjs/react-dom.development.js:11276:10)
at flushPassiveEffects (node_modules/react-dom/cjs/react-dom.development.js:23447:14)
at performSyncWorkOnRoot (node_modules/react-dom/cjs/react-dom.development.js:22269:3)
at node_modules/react-dom/cjs/react-dom.development.js:11327:26
at unstable_runWithPriority (node_modules/scheduler/cjs/scheduler.development.js:468:12)
at runWithPriority$1 (node_modules/react-dom/cjs/react-dom.development.js:11276:10)
at flushSyncCallbackQueueImpl (node_modules/react-dom/cjs/react-dom.development.js:11322:9)
at flushSyncCallbackQueue (node_modules/react-dom/cjs/react-dom.development.js:11309:3)
at batchedUpdates$1 (node_modules/react-dom/cjs/react-dom.development.js:22387:7)
at act (node_modules/react-dom/cjs/react-dom-test-utils.development.js:1042:14)
at render (node_modules/@testing-library/react/dist/pure.js:97:26)
at renderComponent (test/components/views/right_panel/UserInfo-test.tsx:207:22)
at Object.renderComponent (test/components/views/right_panel/UserInfo-test.tsx:255:13)
|
<UserInfo /> › without a room › should not show error modal when the verification request is changed for some other reason:
src/hooks/useUserTimezone.ts#L42
TypeError: cli.doesServerSupportExtendedProfiles is not a function
at doesServerSupportExtendedProfiles (src/hooks/useUserTimezone.ts:42:13)
at invokePassiveEffectCreate (node_modules/react-dom/cjs/react-dom.development.js:23487:20)
at HTMLUnknownElement.callCallback (node_modules/react-dom/cjs/react-dom.development.js:3945:14)
at HTMLUnknownElement.callTheUserObjectsOperation (node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30)
at innerInvokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:350:25)
at invokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
at HTMLUnknownElementImpl._dispatch (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
at HTMLUnknownElementImpl.dispatchEvent (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
at HTMLUnknownElement.dispatchEvent (node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
at Object.invokeGuardedCallbackDev (node_modules/react-dom/cjs/react-dom.development.js:3994:16)
at invokeGuardedCallback (node_modules/react-dom/cjs/react-dom.development.js:4056:31)
at flushPassiveEffectsImpl (node_modules/react-dom/cjs/react-dom.development.js:23574:9)
at unstable_runWithPriority (node_modules/scheduler/cjs/scheduler.development.js:468:12)
at runWithPriority$1 (node_modules/react-dom/cjs/react-dom.development.js:11276:10)
at flushPassiveEffects (node_modules/react-dom/cjs/react-dom.development.js:23447:14)
at performSyncWorkOnRoot (node_modules/react-dom/cjs/react-dom.development.js:22269:3)
at node_modules/react-dom/cjs/react-dom.development.js:11327:26
at unstable_runWithPriority (node_modules/scheduler/cjs/scheduler.development.js:468:12)
at runWithPriority$1 (node_modules/react-dom/cjs/react-dom.development.js:11276:10)
at flushSyncCallbackQueueImpl (node_modules/react-dom/cjs/react-dom.development.js:11322:9)
at flushSyncCallbackQueue (node_modules/react-dom/cjs/react-dom.development.js:11309:3)
at batchedUpdates$1 (node_modules/react-dom/cjs/react-dom.development.js:22387:7)
at act (node_modules/react-dom/cjs/react-dom-test-utils.development.js:1042:14)
at render (node_modules/@testing-library/react/dist/pure.js:97:26)
at renderComponent (test/components/views/right_panel/UserInfo-test.tsx:207:22)
at Object.renderComponent (test/components/views/right_panel/UserInfo-test.tsx:270:13)
|
<UserInfo /> › without a room › renders close button correctly when encryption panel with a pending verification request:
src/hooks/useUserTimezone.ts#L42
TypeError: cli.doesServerSupportExtendedProfiles is not a function
at doesServerSupportExtendedProfiles (src/hooks/useUserTimezone.ts:42:13)
at invokePassiveEffectCreate (node_modules/react-dom/cjs/react-dom.development.js:23487:20)
at HTMLUnknownElement.callCallback (node_modules/react-dom/cjs/react-dom.development.js:3945:14)
at HTMLUnknownElement.callTheUserObjectsOperation (node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30)
at innerInvokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:350:25)
at invokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
at HTMLUnknownElementImpl._dispatch (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
at HTMLUnknownElementImpl.dispatchEvent (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
at HTMLUnknownElement.dispatchEvent (node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
at Object.invokeGuardedCallbackDev (node_modules/react-dom/cjs/react-dom.development.js:3994:16)
at invokeGuardedCallback (node_modules/react-dom/cjs/react-dom.development.js:4056:31)
at flushPassiveEffectsImpl (node_modules/react-dom/cjs/react-dom.development.js:23574:9)
at unstable_runWithPriority (node_modules/scheduler/cjs/scheduler.development.js:468:12)
at runWithPriority$1 (node_modules/react-dom/cjs/react-dom.development.js:11276:10)
at flushPassiveEffects (node_modules/react-dom/cjs/react-dom.development.js:23447:14)
at performSyncWorkOnRoot (node_modules/react-dom/cjs/react-dom.development.js:22269:3)
at node_modules/react-dom/cjs/react-dom.development.js:11327:26
at unstable_runWithPriority (node_modules/scheduler/cjs/scheduler.development.js:468:12)
at runWithPriority$1 (node_modules/react-dom/cjs/react-dom.development.js:11276:10)
at flushSyncCallbackQueueImpl (node_modules/react-dom/cjs/react-dom.development.js:11322:9)
at flushSyncCallbackQueue (node_modules/react-dom/cjs/react-dom.development.js:11309:3)
at batchedUpdates$1 (node_modules/react-dom/cjs/react-dom.development.js:22387:7)
at act (node_modules/react-dom/cjs/react-dom-test-utils.development.js:1042:14)
at render (node_modules/@testing-library/react/dist/pure.js:97:26)
at renderComponent (test/components/views/right_panel/UserInfo-test.tsx:207:22)
at Object.renderComponent (test/components/views/right_panel/UserInfo-test.tsx:291:13)
|
<UserInfo /> › with a room › renders user info:
src/hooks/useUserTimezone.ts#L42
TypeError: cli.doesServerSupportExtendedProfiles is not a function
at doesServerSupportExtendedProfiles (src/hooks/useUserTimezone.ts:42:13)
at invokePassiveEffectCreate (node_modules/react-dom/cjs/react-dom.development.js:23487:20)
at HTMLUnknownElement.callCallback (node_modules/react-dom/cjs/react-dom.development.js:3945:14)
at HTMLUnknownElement.callTheUserObjectsOperation (node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30)
at innerInvokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:350:25)
at invokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
at HTMLUnknownElementImpl._dispatch (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
at HTMLUnknownElementImpl.dispatchEvent (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
at HTMLUnknownElement.dispatchEvent (node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
at Object.invokeGuardedCallbackDev (node_modules/react-dom/cjs/react-dom.development.js:3994:16)
at invokeGuardedCallback (node_modules/react-dom/cjs/react-dom.development.js:4056:31)
at flushPassiveEffectsImpl (node_modules/react-dom/cjs/react-dom.development.js:23574:9)
at unstable_runWithPriority (node_modules/scheduler/cjs/scheduler.development.js:468:12)
at runWithPriority$1 (node_modules/react-dom/cjs/react-dom.development.js:11276:10)
at flushPassiveEffects (node_modules/react-dom/cjs/react-dom.development.js:23447:14)
at performSyncWorkOnRoot (node_modules/react-dom/cjs/react-dom.development.js:22269:3)
at node_modules/react-dom/cjs/react-dom.development.js:11327:26
at unstable_runWithPriority (node_modules/scheduler/cjs/scheduler.development.js:468:12)
at runWithPriority$1 (node_modules/react-dom/cjs/react-dom.development.js:11276:10)
at flushSyncCallbackQueueImpl (node_modules/react-dom/cjs/react-dom.development.js:11322:9)
at flushSyncCallbackQueue (node_modules/react-dom/cjs/react-dom.development.js:11309:3)
at batchedUpdates$1 (node_modules/react-dom/cjs/react-dom.development.js:22387:7)
at act (node_modules/react-dom/cjs/react-dom-test-utils.development.js:1042:14)
at render (node_modules/@testing-library/react/dist/pure.js:97:26)
at renderComponent (test/components/views/right_panel/UserInfo-test.tsx:207:22)
at Object.renderComponent (test/components/views/right_panel/UserInfo-test.tsx:299:13)
|
<UserInfo /> › with a room › does not render space header when room is not a space room:
src/hooks/useUserTimezone.ts#L42
TypeError: cli.doesServerSupportExtendedProfiles is not a function
at doesServerSupportExtendedProfiles (src/hooks/useUserTimezone.ts:42:13)
at invokePassiveEffectCreate (node_modules/react-dom/cjs/react-dom.development.js:23487:20)
at HTMLUnknownElement.callCallback (node_modules/react-dom/cjs/react-dom.development.js:3945:14)
at HTMLUnknownElement.callTheUserObjectsOperation (node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30)
at innerInvokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:350:25)
at invokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
at HTMLUnknownElementImpl._dispatch (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
at HTMLUnknownElementImpl.dispatchEvent (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
at HTMLUnknownElement.dispatchEvent (node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
at Object.invokeGuardedCallbackDev (node_modules/react-dom/cjs/react-dom.development.js:3994:16)
at invokeGuardedCallback (node_modules/react-dom/cjs/react-dom.development.js:4056:31)
at flushPassiveEffectsImpl (node_modules/react-dom/cjs/react-dom.development.js:23574:9)
at unstable_runWithPriority (node_modules/scheduler/cjs/scheduler.development.js:468:12)
at runWithPriority$1 (node_modules/react-dom/cjs/react-dom.development.js:11276:10)
at flushPassiveEffects (node_modules/react-dom/cjs/react-dom.development.js:23447:14)
at performSyncWorkOnRoot (node_modules/react-dom/cjs/react-dom.development.js:22269:3)
at node_modules/react-dom/cjs/react-dom.development.js:11327:26
at unstable_runWithPriority (node_modules/scheduler/cjs/scheduler.development.js:468:12)
at runWithPriority$1 (node_modules/react-dom/cjs/react-dom.development.js:11276:10)
at flushSyncCallbackQueueImpl (node_modules/react-dom/cjs/react-dom.development.js:11322:9)
at flushSyncCallbackQueue (node_modules/react-dom/cjs/react-dom.development.js:11309:3)
at batchedUpdates$1 (node_modules/react-dom/cjs/react-dom.development.js:22387:7)
at act (node_modules/react-dom/cjs/react-dom-test-utils.development.js:1042:14)
at render (node_modules/@testing-library/react/dist/pure.js:97:26)
at renderComponent (test/components/views/right_panel/UserInfo-test.tsx:207:22)
at Object.renderComponent (test/components/views/right_panel/UserInfo-test.tsx:304:13)
|