1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-07-30 02:21:17 +03:00

26 test failures to go :D

This commit is contained in:
Michael Telatynski
2019-12-16 11:55:01 +00:00
parent 6ad31fe023
commit 0041dae664
7 changed files with 70 additions and 10 deletions

View File

@ -69,7 +69,7 @@ describe('Login', function() {
});
it('should show form without change server link when custom URLs disabled', function() {
jest.spyOn(SdkConfig, "get").returns({
jest.spyOn(SdkConfig, "get").mockReturnValue({
disable_custom_urls: true,
});

View File

@ -58,7 +58,7 @@ describe('Registration', function() {
});
it('should show form when custom URLs disabled', function() {
jest.spyOn(SdkConfig, "get").returns({
jest.spyOn(SdkConfig, "get").mockReturnValue({
disable_custom_urls: true,
});