diff --git a/src/plugins/imagery/components/Compass/pluginSpec.js b/src/plugins/imagery/components/Compass/pluginSpec.js index bcdbccebfe..4db44eed2d 100644 --- a/src/plugins/imagery/components/Compass/pluginSpec.js +++ b/src/plugins/imagery/components/Compass/pluginSpec.js @@ -36,7 +36,14 @@ describe("The Compass component", () => { pitch: 90, cameraTilt: 100, cameraAzimuth: 90, - sunAngle: 30 + sunAngle: 30, + transformations: { + translateX: 0, + translateY: 18, + rotation: 0, + scale: 0.3, + cameraAngleOfView: 70 + } }; let propsData = { naturalAspectRatio: 0.9, @@ -44,8 +51,7 @@ describe("The Compass component", () => { sizedImageDimensions: { width: 100, height: 100 - }, - compassRoseSizingClasses: '--rose-small --rose-min' + } }; app = new Vue({ @@ -54,7 +60,6 @@ describe("The Compass component", () => { return propsData; }, template: ` { app.$destroy(); }); - describe("when a heading value exists on the image", () => { + describe("when a heading value and cameraAngleOfView exists on the image", () => { it("should display a compass rose", () => { let compassRoseElement = instance.$el.querySelector(COMPASS_ROSE_CLASS