Skip to content

Commit 6c3599f

Browse files
committed
【fix】UT
1 parent 615349e commit 6c3599f

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

test/maplibregl/overlay/FGBLayerSpec.js

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -92,9 +92,7 @@ describe('maplibregl_FGBLayer', () => {
9292
count++;
9393
console.log(count, feature.properties);
9494
expect(feature.properties['CAPITAL']).toBe('圣多美');
95-
if(count === 2){
96-
done();
97-
}
95+
done();
9896
return feature;
9997
}
10098
});
@@ -112,9 +110,7 @@ describe('maplibregl_FGBLayer', () => {
112110
count++;
113111
console.log(count, feature.properties);
114112
expect(feature.properties['CAPITAL']).toBe('圣多美');
115-
if(count === 2){
116-
done();
117-
}
113+
done();
118114
return feature;
119115
}
120116
});

0 commit comments

Comments
 (0)