1152 upgrade merge react sdk #1
Annotations
6 errors
Run tests:
test/unit-tests/utils/ErrorUtils-test.ts#L120
expect(received).toMatchSnapshot()
Snapshot name: `messageForLoginError should match snapshot for unknown error 1`
- Snapshot - 1
+ Received + 1
<DocumentFragment>
- There was a problem communicating with the homeserver, please try again later. (HTTP 400)
+ [object Object] (HTTP 400)
</DocumentFragment>
at Object.toMatchSnapshot (test/unit-tests/utils/ErrorUtils-test.ts:120:30)
|
Run tests:
test/unit-tests/utils/ErrorUtils-test.ts#L133
expect(received).toMatchSnapshot()
Snapshot name: `messageForConnectionError should match snapshot for ConnectionError 1`
- Snapshot - 8
+ Received + 4
<DocumentFragment>
<span>
<span>
- Can't connect to homeserver - please check your connectivity, ensure your
+ Tchap is not available at the moment err-02.
<a
- class="mx_ExternalLink"
- href="hsUrl"
+ href="https://status.tchap.numerique.gouv.fr"
rel="noreferrer noopener"
target="_blank"
>
- homeserver's SSL certificate
- <i
- class="mx_ExternalLink_icon"
- />
+ View the status of services
</a>
- is trusted, and that a browser extension is not blocking requests.
+ .
</span>
</span>
</DocumentFragment>
at Object.toMatchSnapshot (test/unit-tests/utils/ErrorUtils-test.ts:133:30)
|
Run tests:
test/unit-tests/utils/ErrorUtils-test.ts#L149
expect(received).toMatchSnapshot()
Snapshot name: `messageForConnectionError should match snapshot for MatrixError M_NOT_FOUND 1`
- Snapshot - 1
+ Received + 1
<DocumentFragment>
- There was a problem communicating with the homeserver, please try again later.(M_NOT_FOUND)
+ [object Object](M_NOT_FOUND)
</DocumentFragment>
at Object.toMatchSnapshot (test/unit-tests/utils/ErrorUtils-test.ts:149:30)
|
Run tests:
test/unit-tests/utils/ErrorUtils-test.ts#L160
expect(received).toMatchSnapshot()
Snapshot name: `messageForConnectionError should match snapshot for unknown error 1`
- Snapshot - 1
+ Received + 11
<DocumentFragment>
- There was a problem communicating with the homeserver, please try again later.
+ <span>
+ Tchap is not available at the moment .
+ <a
+ href="https://status.tchap.numerique.gouv.fr"
+ rel="noreferrer noopener"
+ target="_blank"
+ >
+ View the status of services
+ </a>
+ .
+ </span>
</DocumentFragment>
at Object.toMatchSnapshot (test/unit-tests/utils/ErrorUtils-test.ts:160:30)
|
Run tests:
test/unit-tests/utils/ErrorUtils-test.ts#L172
expect(received).toMatchSnapshot()
Snapshot name: `messageForConnectionError should match snapshot for mixed content error 1`
- Snapshot - 3
+ Received + 3
<DocumentFragment>
<span>
<span>
- Can't connect to homeserver via HTTP when an HTTPS URL is in your browser bar. Either use HTTPS or
+ Tchap is not available at the moment err-01.
<a
- href="https://www.google.com/search?&q=enable%20unsafe%20scripts"
+ href="https://status.tchap.numerique.gouv.fr"
rel="noreferrer noopener"
target="_blank"
>
- enable unsafe scripts
+ View the status of services
</a>
.
</span>
</span>
</DocumentFragment>
at Object.toMatchSnapshot (test/unit-tests/utils/ErrorUtils-test.ts:172:30)
|
Run tests
Process completed with exit code 1.
|
Loading