Skip to content

Commit f54379a

Browse files
committed
【UT】 fix openlayers TurfSpec.js UT review by songym
1 parent 6bdbc11 commit f54379a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/openlayers/overlay/TurfSpec.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
11
import { Turf } from '../../../src/openlayers/overlay/Turf';
22
import * as turf from '@turf/turf';
3+
import Collection from 'ol/Collection';
4+
35
describe('openlayers_Turf', () => {
46
var opt_options;
57
var serviceResult;
68

79
it('parse,parseOption,rocess_Measurement.along,', (done) => {
810
opt_options = {
911
attributions: " ",
12+
features: new Collection(),
1013
features: " ",
1114
format: "",
1215
logo: "",

0 commit comments

Comments
 (0)