Skip to content

Commit

Permalink
Update packages/mui-material/src/SwipeableDrawer/SwipeableDrawer.test.js
Browse files Browse the repository at this point in the history
Signed-off-by: Marija Najdova <mnajdova@gmail.com>
  • Loading branch information
mnajdova committed Oct 13, 2022
1 parent c5a8e9b commit 5b05a36
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,6 @@ describe('<SwipeableDrawer />', () => {
if (params.anchor === 'bottom') {
startPosition = windowHeight - DRAG_STARTED_SIGNAL;
}
// The 20 comes from the DRAG_STARTED_SIGNAL, defined in the SwipeableDrawer
expect(getByTestId('drawer').getBoundingClientRect()[testParam]).to.equal(startPosition);

fireEvent.touchMove(swipeArea, {
Expand Down

0 comments on commit 5b05a36

Please sign in to comment.