We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 04dc598 commit 71e1615Copy full SHA for 71e1615
test/mapboxgl/services/FieldServiceSpec.js
@@ -86,7 +86,6 @@ describe('mapboxgl_FieldService', () => {
86
}
87
return Promise.resolve();
88
});
89
- let count = 0;
90
service.getFieldStatisticsInfo(fieldStatisticsParameters, (result) => {
91
serviceResult = result;
92
try {
@@ -107,10 +106,7 @@ describe('mapboxgl_FieldService', () => {
107
106
expect(serviceResult.result.SUM).toEqual(28);
108
expect(serviceResult.result.VARIANCE).toEqual(4.666666666666667);
109
expect(serviceResult.result.fieldName).toEqual("SmID");
110
- count++;
111
- if (count === 6) {
112
- done();
113
- }
+ done();
114
} catch (e) {
115
console.log("'getFieldStatisticsInfo'案例失败" + exception.name + ":" + exception.message);
116
expect(false).toBeTruthy();
0 commit comments