Skip to content

Commit d33a54a

Browse files
committed
fix: removes xhrs mock from test
1 parent fe3a1bc commit d33a54a

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

src/__tests__/ParseObject-test.js

-13
Original file line numberDiff line numberDiff line change
@@ -3865,19 +3865,6 @@ describe('ParseObject pin', () => {
38653865
});
38663866

38673867
it('handles unsaved circular references', async () => {
3868-
const xhrs = [];
3869-
RESTController._setXHR(function () {
3870-
const xhr = {
3871-
setRequestHeader: jest.fn(),
3872-
open: jest.fn(),
3873-
send: jest.fn(),
3874-
status: 200,
3875-
readyState: 4,
3876-
};
3877-
xhrs.push(xhr);
3878-
return xhr;
3879-
});
3880-
38813868
const a = {};
38823869
const b = {};
38833870
a.b = b;

0 commit comments

Comments
 (0)