Skip to content

Commit

Permalink
Initial work on heusalagroup/hghs#13
Browse files Browse the repository at this point in the history
  • Loading branch information
thejhh committed Aug 6, 2022
1 parent 294e325 commit 53d0966
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion io/hghs
6 changes: 3 additions & 3 deletions src/system/SimpleMatrixClient.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import { MatrixRoomJoinedMembersDTO } from "../fi/hg/matrix/types/response/roomJ
import { PutRoomStateWithEventTypeResponseDTO } from "../fi/hg/matrix/types/response/setRoomStateByType/PutRoomStateWithEventTypeResponseDTO";
import { SetRoomStateByTypeRequestDTO } from "../fi/hg/matrix/types/request/setRoomStateByType/SetRoomStateByTypeRequestDTO";
import { MatrixSyncResponseDTO } from "../fi/hg/matrix/types/response/sync/MatrixSyncResponseDTO";
import { MatrixRoomId } from "../fi/hg/matrix/types/core/MatrixRoomId";
import { isMatrixRoomId, MatrixRoomId } from "../fi/hg/matrix/types/core/MatrixRoomId";
import { filter, keys } from "../fi/hg/core/modules/lodash";
import { MatrixWhoAmIResponseDTO } from "../fi/hg/matrix/types/response/whoami/MatrixWhoAmIResponseDTO";

Expand Down Expand Up @@ -118,7 +118,7 @@ describe('system', () => {
/**
* @see https://github.com/heusalagroup/hghs/issues/13
*/
xdescribe('#createRoom', () => {
describe('#createRoom', () => {

let client : SimpleMatrixClient = new SimpleMatrixClient(MATRIX_HS_URL);

Expand Down Expand Up @@ -188,7 +188,7 @@ describe('system', () => {

const response : MatrixCreateRoomResponseDTO = await client.createRoom(options);

expect(response.room_id).toBeDefined();
expect( isMatrixRoomId(response.room_id) ).toBe(true);

});

Expand Down

0 comments on commit 53d0966

Please sign in to comment.