Skip to content

Commit

Permalink
Ensure layer is forwarded inside unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sronveaux committed Nov 17, 2023
1 parent 928ad14 commit f0dc661
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/unit/specs/components/ol/HoverController.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
});
Expand Down

0 comments on commit f0dc661

Please sign in to comment.