From b5a81c28d571cb8c1189dec1366b329a2ce0cdd5 Mon Sep 17 00:00:00 2001 From: Sjur Sutterud Sagen Date: Tue, 9 Apr 2024 15:08:15 +0200 Subject: [PATCH] PXWEB2-166 Add command for running tests in all projects (#104) Since we need to run tests easily, in various places, we need a script for running all tests easily. Co-authored-by: Kent Mossbaeck <> Co-authored-by: Michael Pande <> Co-authored-by: Per Inge Vaaje <60141320+PerIngeVaaje@users.noreply.github.com> Co-authored-by: Mikael Nordberg <54406826+MikaelNordberg@users.noreply.github.com> --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index 3222580a..62640a2d 100644 --- a/package.json +++ b/package.json @@ -7,6 +7,7 @@ "start": "npx nx run pxweb2:serve", "prebuild": "npm run build-style-dictionary", "build": "nx run pxweb2:build && nx run pxweb2-ui:build-storybook", + "test": "nx run-many -t test -p pxweb2 pxweb2-ui", "start-storybook": "npx nx run pxweb2-ui:storybook", "build-storybook": "npx nx run pxweb2-ui:build-storybook", "build-style-dictionary": "node libs/pxweb2-ui/style-dictionary/build.js",