Improve tests.
Modify test to ensure the vtkjs point feature is updated at least once
on an initial draw call.
MODIFY
tests/gl-cases/vtkjsPointFeature.js
tests/gl-cases/vtkjsPointFeature.js
@@ -27,7 +27,10 @@ describe('geo.vtkjs.pointFeature', function () {
}
}
}).data(testPoints);
+ sinon.spy(point, '_update');
point.draw();
+ expect(point._update.calledOnce).toBe(true);
+ point._update.restore();
expect($('#map div canvas').length).toBe(1);
});
waitForIt('points to be generated', function () {

Improve tests.

Modify test to ensure the vtkjs point feature is updated at least once
on an initial draw call.