You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As per wp-envdocumentation, the default value for testsEnvironment is false. This is not the case when running npx wp-env start with a config omitting testsEnvironment.
Running npx wp-env --config=.wp-env.test.json start spins up two environments (dev and tests). See the output bellow:
⚠ Warning: wp-env starts both development and tests environments by default.
This behavior is deprecated and will be removed in a future version.
To avoid this warning, add "testsEnvironment": false to your .wp-env.json.
The "env", "testsPort", and "testsEnvironment" options are also deprecated.
Use the --config option with a separate config file for test environments instead.
WordPress development site started at http://localhost:8893
MySQL is listening on port 32769
WordPress test site started at http://localhost:8889
MySQL for automated testing is listening on port 32768
Moreover, we get a depreciation notice even if --config flag has been passed.
Screenshots, screen recording, code snippet
No response
Environment info
@wordpress/env 11.17.0
MacOS 27.0.1
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
Please confirm which theme type you used for testing.
Activity