Skip to content

Commit

Permalink
test: removed obsolete test case
Browse files Browse the repository at this point in the history
  • Loading branch information
jfayot committed Oct 29, 2024
1 parent d561b75 commit 80c2e14
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions packages/engine/Specs/DataSources/EntityViewSpec.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,14 +105,14 @@ describe(
entity.trackingReferenceFrame = TrackingReferenceFrame.INERTIAL;
view.update(
JulianDate.now(),
new BoundingSphere(new Cartesian3(3, 4, 5), 6)
new BoundingSphere(new Cartesian3(3, 4, 5), 6),
);
expect(view.scene.camera.position).toEqualEpsilon(sampleOffset, 1e-10);

entity.trackingReferenceFrame = TrackingReferenceFrame.VELOCITY;
view.update(
JulianDate.now(),
new BoundingSphere(new Cartesian3(3, 4, 5), 6)
new BoundingSphere(new Cartesian3(3, 4, 5), 6),
);
expect(view.scene.camera.position).toEqualEpsilon(sampleOffset, 1e-10);
});
Expand Down Expand Up @@ -156,13 +156,6 @@ describe(
const view = new EntityView(entity, scene);
view.update(JulianDate.now());
});

it("update returns with entity.trackingReferenceFrame set to INERTIAL and without entity.orientation property.", function () {
const entity = new Entity();
entity.trackingReferenceFrame = TrackingReferenceFrame.INERTIAL;
const view = new EntityView(entity, scene);
view.update(JulianDate.now());
});
},
"WebGL",
);

0 comments on commit 80c2e14

Please sign in to comment.