We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3ba68d2 commit 4242b3dCopy full SHA for 4242b3d
test/common/util/FetchRequestSpec.js
@@ -33,7 +33,7 @@ describe('FetchRequest', () => {
33
spyOn(FetchRequest, '_fetchJsonp').and.callFake(() => {});
34
FetchRequest.put(deleteUri, paramsde, options);
35
expect(SuperMap.Util.RequestJSONPPromise.issue.calls.count()).toBe(4);
36
- setCORS(defaltCors);
+ setCORS(true);
37
});
38
39
it('Get_arrayObject', () => {
@@ -91,7 +91,7 @@ describe('FetchRequest', () => {
91
92
afterAll(() => {
93
SuperMap.Util.RequestJSONPPromise.limitLength = defaultval;
94
95
setFetch(window.fetch);
96
97
0 commit comments