Merge pull request #31872 from woocommerce/add/suppress-wp-compose-console-messages

Suppress wp.console.withState deprecation warning
This commit is contained in:
Lucas Bustamante 2022-02-11 13:41:50 -03:00 committed by GitHub
commit 616b61348e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -11,7 +11,9 @@ const { addConsoleSuppression, updateReadyPageStatus, setupJestRetries } = requi
const { DEFAULT_TIMEOUT_OVERRIDE } = process.env;
// @todo: remove this once https://github.com/woocommerce/woocommerce-admin/issues/6992 has been addressed
addConsoleSuppression( 'woocommerce_shared_settings', false );
addConsoleSuppression('woocommerce_shared_settings', false);
// @todo: remove this once https://github.com/woocommerce/woocommerce/issues/31867 has been addressed
addConsoleSuppression('wp.compose.withState', false);
/**
* Uses the WordPress API to delete all existing posts