@@ -27,7 +27,7 @@ jest.mock('../../../components/confirmation-modal', () => {
2727 const PropTypes = jest . requireActual ( 'prop-types' )
2828 const MockConfirmationModal = ( props ) => {
2929 return (
30- < div data-testid = "confirmation-modal" { ... props } >
30+ < div data-testid = "confirmation-modal" >
3131 < button
3232 data-testid = "confirmation-modal-primary-action"
3333 onClick = { ( ) => props . onPrimaryAction ( ) }
@@ -47,7 +47,7 @@ jest.mock('../../../components/product-view-modal', () => {
4747 const PropTypes = jest . requireActual ( 'prop-types' )
4848 const MockProductViewModal = ( props ) => {
4949 return (
50- < div data-testid = "product-view-modal" role = "dialog" { ... props } >
50+ < div data-testid = "product-view-modal" role = "dialog" >
5151 < button data-testid = "update-cart-button" onClick = { ( ) => props . updateCart ( ) } >
5252 Update Cart
5353 </ button >
@@ -62,13 +62,13 @@ jest.mock('../../../components/product-view-modal', () => {
6262
6363jest . mock ( '../../../components/product-view-modal/bundle' , ( ) => {
6464 return function MockBundleProductViewModal ( props ) {
65- return < div data-testid = "bundle-product-view-modal" role = "dialog" { ... props } />
65+ return < div data-testid = "bundle-product-view-modal" role = "dialog" />
6666 }
6767} )
6868
6969jest . mock ( '../../../components/unavailable-product-confirmation-modal' , ( ) => {
7070 return function MockUnavailableProductConfirmationModal ( props ) {
71- return < div data-testid = "unavailable-product-confirmation-modal" { ... props } />
71+ return < div data-testid = "unavailable-product-confirmation-modal" />
7272 }
7373} )
7474
0 commit comments