Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

Commit

Permalink
Update Checkout test to reflect new filter name
Browse files Browse the repository at this point in the history
  • Loading branch information
opr committed Mar 28, 2023
1 parent 24a78ac commit 2c85b8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/e2e/specs/backend/checkout.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ describe( `${ block.name } Block`, () => {
// Register a checkout filter to allow `core/table` block in the Checkout block's inner blocks.
await page.evaluate(
"wc.blocksCheckout.registerCheckoutFilters( 'woo-test-namespace'," +
'{ allowedBlockTypes: ( value, extensions, { block } ) => {' +
'{ additionalCartCheckoutInnerBlockTypes: ( value, extensions, { block } ) => {' +
" value.push('core/table');" +
" if ( block === 'woocommerce/checkout-shipping-address-block' ) {" +
" value.push( 'core/audio' );" +
Expand Down

0 comments on commit 2c85b8c

Please sign in to comment.