Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Kerry Archibald committed Sep 26, 2022
1 parent cd9b5fb commit 3f46ad5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/utils/device/clientInformation-test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ describe('getDeviceClientInformation()', () => {
expect(getDeviceClientInformation(mockClient, deviceId)).toEqual({});

expect(mockClient.getAccountData).toHaveBeenCalledWith(
`io.element.matrix-client-information.${deviceId}`,
`io.element.matrix_client_information.${deviceId}`,
);
});

Expand All @@ -116,7 +116,7 @@ describe('getDeviceClientInformation()', () => {
url: 'test.com',
};
const event = new MatrixEvent({
type: `io.element.matrix-client-information.${deviceId}`,
type: `io.element.matrix_client_information.${deviceId}`,
content: eventContent,
});
mockClient.getAccountData.mockReturnValue(event);
Expand All @@ -132,7 +132,7 @@ describe('getDeviceClientInformation()', () => {
url: 'test.com',
};
const event = new MatrixEvent({
type: `io.element.matrix-client-information.${deviceId}`,
type: `io.element.matrix_client_information.${deviceId}`,
content: eventContent,
});
mockClient.getAccountData.mockReturnValue(event);
Expand Down

0 comments on commit 3f46ad5

Please sign in to comment.