1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-11-25 05:23:13 +03:00
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski
2020-05-18 20:11:32 +01:00
parent b9352cfcc1
commit 661901b00d
2 changed files with 5 additions and 5 deletions

View File

@@ -16,3 +16,8 @@ limitations under the License.
// stub for browser-matrix browserify tests
global.XMLHttpRequest = jest.fn();
afterAll(() => {
// clean up XMLHttpRequest mock
global.XMLHttpRequest = undefined;
});

View File

@@ -67,11 +67,6 @@ describe("Browserify Test", function() {
await httpBackend.stop();
});
afterAll(() => {
// clean up XMLHttpRequest mock
global.XMLHttpRequest = undefined;
});
it("Sync", async function() {
const event = utils.mkMembership({
room: ROOM_ID,