Skip to content

Commit 6d4ee09

Browse files
committed
【fix】test review by luoxiao
1 parent eb11b39 commit 6d4ee09

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

test/classic/services/DatasetServiceSpec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ describe('classic_DatasetService', () => {
181181
try {
182182
expect(service).not.toBeNull();
183183
expect(serviceResult).not.toBeNull();
184-
expect(serviceResult.object.isInTheSameDomain).toBe(false);
184+
expect(serviceResult.object.isInTheSameDomain).toBe(true);
185185
expect(serviceResult.type).toBe("processCompleted");
186186
expect(serviceResult.element).toBeNull();
187187
expect(serviceResult.result.succeed).toBe(true);

test/mapboxgl/services/DatasetServiceSpec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ describe('mapboxgl_DatasetService', () => {
183183
try {
184184
expect(service).not.toBeNull();
185185
expect(serviceResult).not.toBeNull();
186-
expect(serviceResult.object.isInTheSameDomain).toBe(false);
186+
expect(serviceResult.object.isInTheSameDomain).toBe(true);
187187
expect(serviceResult.type).toBe("processCompleted");
188188
expect(serviceResult.element).toBeNull();
189189
expect(serviceResult.result.succeed).toBe(true);

test/openlayers/services/DatasetServiceSpec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ describe('openlayers_DatasetService', () => {
182182
try {
183183
expect(service).not.toBeNull();
184184
expect(serviceResult).not.toBeNull();
185-
expect(serviceResult.object.isInTheSameDomain).toBe(false);
185+
expect(serviceResult.object.isInTheSameDomain).toBe(true);
186186
expect(serviceResult.type).toBe("processCompleted");
187187
expect(serviceResult.element).toBeNull();
188188
expect(serviceResult.result.succeed).toBe(true);

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy