From 9f59c510525904c156c495b0301080f1ae181b04 Mon Sep 17 00:00:00 2001 From: Vicente Canales Date: Fri, 8 Mar 2024 18:20:01 -0300 Subject: [PATCH] run setup before php tests --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 46e21dbc..d8f7899c 100644 --- a/package.json +++ b/package.json @@ -51,7 +51,7 @@ "lint:php:fix": "composer run-script format", "lint:md-docs": "wp-scripts lint-md-docs", "lint:pkg-json": "wp-scripts lint-pkg-json", - "test:php": "npm run lint:php && wp-env run cli --env-cwd='wp-content/plugins/create-block-theme' composer run-script test", + "test:php": "npm run test:php:setup && wp-env run cli --env-cwd='wp-content/plugins/create-block-theme' composer run-script test", "test:php:setup": "wp-env start", "packages-update": "wp-scripts packages-update", "start": "wp-scripts start src/index.js src/plugin-sidebar.js src/wp-org-theme-directory.js",