mirror of
https://github.com/sartography/bpmn-js.git
synced 2025-02-02 20:24:22 +00:00
test(grid-snapping): use bound matcher
This commit is contained in:
parent
86506468ba
commit
02848564cf
@ -179,7 +179,7 @@ describe('features/grid-snapping', function() {
|
||||
);
|
||||
|
||||
// then
|
||||
expect(getBounds(collapsedParticipant)).to.eql(bounds);
|
||||
expect(collapsedParticipant).to.have.bounds(bounds);
|
||||
}));
|
||||
|
||||
|
||||
@ -230,7 +230,7 @@ describe('features/grid-snapping', function() {
|
||||
);
|
||||
|
||||
// then
|
||||
expect(getBounds(expandedParticipant)).to.eql(bounds);
|
||||
expect(expandedParticipant).to.have.bounds(bounds);
|
||||
}));
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user