From f0dc661c5ff4c5982a34d02d3d303a733a39353b Mon Sep 17 00:00:00 2001 From: sronveaux Date: Fri, 17 Nov 2023 09:19:24 +0100 Subject: [PATCH] Ensure layer is forwarded inside unit tests --- tests/unit/specs/components/ol/HoverController.spec.js | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/unit/specs/components/ol/HoverController.spec.js b/tests/unit/specs/components/ol/HoverController.spec.js index ef047a19..8fe549cc 100644 --- a/tests/unit/specs/components/ol/HoverController.spec.js +++ b/tests/unit/specs/components/ol/HoverController.spec.js @@ -72,6 +72,7 @@ describe('ol/HoverController.js', () => { expect(visible).to.equal(true); expect(position).to.equal(undefined); expect(data.feature).to.equal(feat); + expect(data.layer).to.equal(layer); expect(data.hoverAttribute).to.equal('foo'); done(); });