Matrix OAuth flow #764
Open
Matrix OAuth flow #764
Annotations
10 errors
|
Run tests:
src/synapse/dataProvider.ts#L532
Error: Homeserver not set
❯ Object.getList src/synapse/dataProvider.ts:532:58
❯ src/synapse/dataProvider.test.ts:40:38
|
|
Run tests:
src/synapse/authProvider.test.ts#L125
AssertionError: promise rejected "undefined" instead of resolving
❯ src/synapse/authProvider.test.ts:125:46
|
|
Run tests:
src/synapse/authProvider.test.ts#L91
AssertionError: expected "vi.fn()" to be called with arguments: [ …(2) ]
Number of calls: 0
❯ src/synapse/authProvider.test.ts:91:21
|
|
Run tests:
src/synapse/authProvider.test.ts#L69
AssertionError: expected "vi.fn()" to be called with arguments: [ …(2) ]
Number of calls: 0
❯ src/synapse/authProvider.test.ts:69:19
|
|
Run tests:
src/synapse/authProvider.test.ts#L28
AssertionError: expected "vi.fn()" to be called with arguments: [ …(2) ]
Number of calls: 0
❯ src/synapse/authProvider.test.ts:28:21
|
|
Run tests:
src/components/AvatarField.test.tsx#L16
TestingLibraryElementError: Unable to find an accessible element with the role "img"
There are no accessible roles. But there might be some inaccessible roles. If you wish to access them, then set the `hidden` option to `true`. Learn more about this here: https://testing-library.com/docs/dom-testing-library/api-queries#byrole
Ignored nodes: comments, script, style
<body>
<div>
<div
class="MuiAvatar-root MuiAvatar-circular MuiAvatar-colorDefault css-18k2bs-MuiAvatar-root"
>
<svg
aria-hidden="true"
class="MuiSvgIcon-root MuiSvgIcon-fontSizeMedium MuiAvatar-fallback css-1mo2pzk-MuiSvgIcon-root-MuiAvatar-fallback"
data-testid="PersonIcon"
focusable="false"
viewBox="0 0 24 24"
>
<path
d="M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"
/>
</svg>
</div>
</div>
</body>
❯ Object.getElementError ../../../.yarn/berry/cache/@testing-library-dom-npm-10.4.1-928d6cd2a7-10c0.zip/node_modules/@testing-library/dom/dist/config.js:37:19
❯ ../../../.yarn/berry/cache/@testing-library-dom-npm-10.4.1-928d6cd2a7-10c0.zip/node_modules/@testing-library/dom/dist/query-helpers.js:76:38
❯ ../../../.yarn/berry/cache/@testing-library-dom-npm-10.4.1-928d6cd2a7-10c0.zip/node_modules/@testing-library/dom/dist/query-helpers.js:52:17
❯ ../../../.yarn/berry/cache/@testing-library-dom-npm-10.4.1-928d6cd2a7-10c0.zip/node_modules/@testing-library/dom/dist/query-helpers.js:95:19
❯ src/components/AvatarField.test.tsx:16:19
|
|
Run tests:
src/synapse/synapse.ts#L78
SyntaxError: Unexpected end of JSON input
❯ Response.json ../../../.yarn/berry/cache/happy-dom-npm-20.7.0-133661b33d-10c0.zip/node_modules/happy-dom/lib/fetch/Response.js:190:21
❯ getAuthMetadata src/synapse/synapse.ts:78:16
This error originated in "src/pages/LoginPage.test.tsx" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
|
|
Run tests:
src/synapse/synapse.ts#L78
SyntaxError: Unexpected end of JSON input
❯ Response.json ../../../.yarn/berry/cache/happy-dom-npm-20.7.0-133661b33d-10c0.zip/node_modules/happy-dom/lib/fetch/Response.js:190:21
❯ getAuthMetadata src/synapse/synapse.ts:78:16
This error originated in "src/pages/LoginPage.test.tsx" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
|
|
Run tests:
src/synapse/synapse.ts#L78
SyntaxError: Unexpected end of JSON input
❯ Response.json ../../../.yarn/berry/cache/happy-dom-npm-20.7.0-133661b33d-10c0.zip/node_modules/happy-dom/lib/fetch/Response.js:190:21
❯ getAuthMetadata src/synapse/synapse.ts:78:16
This error originated in "src/pages/LoginPage.test.tsx" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
|
|
Run tests:
src/synapse/synapse.ts#L78
SyntaxError: Unexpected end of JSON input
❯ Response.json ../../../.yarn/berry/cache/happy-dom-npm-20.7.0-133661b33d-10c0.zip/node_modules/happy-dom/lib/fetch/Response.js:190:21
❯ getAuthMetadata src/synapse/synapse.ts:78:16
This error originated in "src/pages/LoginPage.test.tsx" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
|
Loading