Skip to content

Commit

Permalink
test(dmn-js-shared): relax test
Browse files Browse the repository at this point in the history
  • Loading branch information
philippfromme committed Jan 24, 2025
1 parent cc414b2 commit 5a5483f
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -225,8 +225,9 @@ describe('components/InputSelect', function() {
const inputSelectBounds = inputSelect.getBoundingClientRect();
const optionsBounds = options.getBoundingClientRect();

expect(optionsBounds.top).to.eql(inputSelectBounds.height + inputSelectBounds.top);
expect(optionsBounds.left).to.eql(inputSelectBounds.left);
expect(optionsBounds.top)
.to.be.closeTo(inputSelectBounds.height + inputSelectBounds.top, 1);
expect(optionsBounds.left).to.be.closeTo(inputSelectBounds.left, 1);
});


Expand Down

0 comments on commit 5a5483f

Please sign in to comment.