From e9dbdbbcbf8e2a4f90ab7590ee15d9da5268d819 Mon Sep 17 00:00:00 2001 From: Erick Hitter <gitlab-s@mxs.ethitter.com> Date: Tue, 14 Jun 2022 03:15:28 +0000 Subject: [PATCH] Add `test` command for consolidated npm testing --- package.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 7d59d78..c359039 100755 --- a/package.json +++ b/package.json @@ -24,7 +24,8 @@ "packages-update": "wp-scripts packages-update", "plugin-zip": "wp-scripts plugin-zip", "start": "wp-scripts start", - "test:e2e": "wp-scripts test-e2e", - "test:unit": "wp-scripts test-unit-js" + "test": "npm run test:e2e && npm run test:unit" + "test:e2e": "wp-scripts test-e2e --passWithNoTests", + "test:unit": "wp-scripts test-unit-js --passWithNoTests" } } -- GitLab